Skip to content

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