Skip to content

Conversation

@som-snytt
Copy link
Contributor

Fixes #24265

The lint previously registered imports only after typer, but no new symbols after inlining should be subject to the unused lint.

@tgodzik tgodzik merged commit 54a4863 into scala:main Oct 28, 2025
51 checks passed
@som-snytt som-snytt deleted the issue/24265-inlined-singleton-unused branch October 28, 2025 08:50
WojciechMazur added a commit that referenced this pull request Oct 28, 2025
Fixes #24265 

The lint previously registered imports only after typer, but no new
symbols after inlining should be subject to the unused lint.
[Cherry-picked 54a4863][modified]
WojciechMazur added a commit that referenced this pull request Oct 28, 2025
)

Backports #24279 to the 3.7.4.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added the backport:done This PR was successfully backported. label Oct 28, 2025
@WojciechMazur WojciechMazur added this to the 3.7.4 milestone Oct 28, 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 unused local definition for lambda and inline

3 participants