Skip to content

Conversation

@som-snytt
Copy link
Contributor

Fixes #24248

Adjust enclosing inlineds for inlined parameter, and do look-up in imports if tree position is enclosed by any enclosing inlined position (any intermediate position, not just outermost).

@som-snytt som-snytt marked this pull request as ready for review October 27, 2025 23:27
@som-snytt som-snytt marked this pull request as draft October 27, 2025 23:51
@som-snytt som-snytt force-pushed the issue/24248-false-pos-unused-import branch from b641c5a to 508ef2c Compare October 28, 2025 00:01
@som-snytt som-snytt marked this pull request as ready for review October 28, 2025 00:01
@Gedochao Gedochao requested a review from tgodzik October 28, 2025 06:38
@tgodzik tgodzik merged commit 2f320b8 into scala:main Oct 28, 2025
52 of 53 checks passed
@som-snytt som-snytt deleted the issue/24248-false-pos-unused-import branch October 28, 2025 08:52
WojciechMazur pushed a commit that referenced this pull request Oct 28, 2025
Fixes #24248 

Adjust enclosing inlineds for inlined parameter, and do look-up in
imports if tree position is enclosed by any enclosing inlined position
(any intermediate position, not just outermost).
[Cherry-picked 2f320b8]
WojciechMazur added a commit that referenced this pull request Oct 28, 2025
…24286)

Backports #24281 to the 3.7.4.

PR submitted by the release tooling.
@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
tgodzik pushed a commit to scala/scala3-lts that referenced this pull request Nov 10, 2025
Fixes scala#24248 

Adjust enclosing inlineds for inlined parameter, and do look-up in
imports if tree position is enclosed by any enclosing inlined position
(any intermediate position, not just outermost).
[Cherry-picked 2f320b8]
tgodzik pushed a commit to scala/scala3-lts that referenced this pull request Nov 14, 2025
Fixes scala#24248 

Adjust enclosing inlineds for inlined parameter, and do look-up in
imports if tree position is enclosed by any enclosing inlined position
(any intermediate position, not just outermost).
[Cherry-picked 2f320b8]
tgodzik pushed a commit to scala/scala3-lts that referenced this pull request Nov 14, 2025
Fixes scala#24248 

Adjust enclosing inlineds for inlined parameter, and do look-up in
imports if tree position is enclosed by any enclosing inlined position
(any intermediate position, not just outermost).
[Cherry-picked 2f320b8]
HarrisL2 pushed a commit to HarrisL2/scala3 that referenced this pull request Nov 18, 2025
Fixes scala#24248 

Adjust enclosing inlineds for inlined parameter, and do look-up in
imports if tree position is enclosed by any enclosing inlined position
(any intermediate position, not just outermost).
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.

Erroneous unused import warning on Scala 3.7.4-RC2

3 participants