Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Drill through type lambda for tree symbol #23699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
som-snytt wants to merge 1 commit into scala:main
base: main
Choose a base branch
Loading
from som-snytt:issue/23694-unused-private

Conversation

Copy link
Contributor

@som-snytt som-snytt commented Aug 8, 2025
edited
Loading

Fixes #23694

The selection in new A.C does not have a symbol when C[T] because the type is [T] =>> this.A.C[T].

Select node in `new p.C[T]` has a lambda type,
so the symbol `C` is found in its result type.
The TypeApply has a symbol which is the constructor of C.
Both trees are used to register `C` as used.
@som-snytt som-snytt force-pushed the issue/23694-unused-private branch from c48a60d to f49571b Compare September 18, 2025 23:46
@som-snytt som-snytt marked this pull request as ready for review September 18, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

False positive unused private class with type parameter
1 participant

AltStyle によって変換されたページ (->オリジナル) /