We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
class C(open: Int)
[error] 1 |class C(open: Int) [error] | ^ [error] | values cannot be open
I know that open is a soft modifier
open
open is a soft modifier. It is treated as a normal identifier unless it is in modifier position.
But should it be treated as a normal identifier in this case?
The text was updated successfully, but these errors were encountered:
Solution might be related to #9127
Sorry, something went wrong.
Fix scala#9226: Add regression test
3f4930c
Probably fixed by scala#9127
Actually it looks like #9127 already fixed it
Merge pull request #9233 from dotty-staging/fix-#9226
57cfc9c
Fix #9226: Add regression test
Successfully merging a pull request may close this issue.
Minimized code
Output
Expectation
I know that
open
is a soft modifierBut should it be treated as a normal identifier in this case?
The text was updated successfully, but these errors were encountered: