Skip to content
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

Check outer class prefixes in type projections when pattern matching #17136

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Mar 21, 2023

A type pattern of the form A#B should be checked if the prefix A is not already the owner of B or a superclass.

Fixes #16728

A type pattern of the form A#B should be checked if the prefix A
is not already the owner of B or a superclass.

Fixes scala#16728
@dwijnand dwijnand merged commit d4e80c4 into scala:main Mar 27, 2023
@dwijnand dwijnand deleted the fix-16728 branch March 27, 2023 09:15
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 1, 2023
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.

inconsistency between path-dependent and projection type matching
3 participants