-
Notifications
You must be signed in to change notification settings - Fork 21
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
private[this] var in class constructor disallows mutation #6165
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6165?orig=1 |
Artūras Šlajus (arturaz) said: ! class P(private[this] var f:String) { f = f + "hellO"; def ff = f }
|
@paulp said: def g { f = f + "hellO" } And call g, it works. |
still present in 2.12.4 |
Fixed in 2.13, but I didn't see where. |
I didn't see that it duplicates #6880 |
Is this intentional?
The text was updated successfully, but these errors were encountered: