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

Skip ambiguous reference error when symbols are aliases #16401

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

lrytz
Copy link
Member

@lrytz lrytz commented Nov 23, 2022

Follow-up for #8622, which introduced a new lookup ambiguity if a name is inherited from a parent and also found in an outer scope.

The error is avoided if the two symbols are aliases.

Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@odersky odersky merged commit ba2be40 into scala:main Nov 30, 2022
@Kordyjan Kordyjan added this to the 3.3.0 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.

3 participants