Skip to content

Parameter name can be masked in import#24635

Merged
som-snytt merged 1 commit intoscala:mainfrom
som-snytt:issue/24633-masking
Dec 5, 2025
Merged

Parameter name can be masked in import#24635
som-snytt merged 1 commit intoscala:mainfrom
som-snytt:issue/24633-masking

Conversation

@som-snytt
Copy link
Copy Markdown
Contributor

Fixes #24633

Consider import for masking before short circuiting lookup of parameter.
Locals can't be imported, but their names can be masked in an import.

@som-snytt som-snytt marked this pull request as ready for review December 4, 2025 10:29
@Gedochao Gedochao requested a review from tgodzik December 5, 2025 08:12
@Gedochao Gedochao added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Dec 5, 2025
@Gedochao Gedochao added this to the 3.8.0 milestone Dec 5, 2025
@som-snytt som-snytt merged commit c6051b4 into scala:main Dec 5, 2025
46 checks passed
@som-snytt som-snytt deleted the issue/24633-masking branch December 5, 2025 16:08
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Dec 21, 2025
WojciechMazur added a commit that referenced this pull request Dec 22, 2025
Backports #24635 to the 3.8.0-RC4.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:done This PR was successfully backported.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positive unused import on 3.8 for discarded import

5 participants