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

Improve "constructor proxy shadows outer" handling #17154

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Mar 27, 2023

  • Avoid an error if outer reference cannot be applied
  • Switch to outer reference if reference is not to a function in an application
  • Improve error message with hints how to fix it

Fixes #17153

odersky added 2 commits March 27, 2023 12:56
 - Avoid an error if outer reference cannot be applied
 - Switch to outer reference if reference is not to a function in an application
 - Improve error message with hints how to fix it
@dwijnand dwijnand merged commit 3a830c8 into scala:main Mar 28, 2023
@dwijnand dwijnand deleted the improve-constr-proxy-shadowing branch March 28, 2023 13:09
@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.

Confusing error for constructor proxy shadowing
3 participants