Skip to content

Backport "Fix use of class terms in match analysis" to 3.3 LTS #70

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

Closed
wants to merge 1 commit into from

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Feb 14, 2025

Backports scala#21848 to the 3.3.6.

PR submitted by the release tooling.
[skip ci]

When instantiating a subclass Outer.this.Bar, such that it's a subtype
of Test.this.outer.Foo[X], make sure to infer the term `outer` (even if
it's not a parameter).  Also make sure to use those singletons when
approximating the parent (to fix Outer.this.Qux instantiating).

[Cherry-picked 4d79459]
@tgodzik tgodzik closed this Feb 14, 2025
@tgodzik tgodzik deleted the backport-lts-3.3-21848 branch February 14, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants