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
This happens to me with embarrassing regularity:
trait A { def a: Int } def foo(a: Int) { new A { def a = a } }
A warning would be lovely. If could be cleared with def a = this.a in case someone really wants to use this construct to contribute to global warming.
def a = this.a
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6276?orig=1 Reporter: @retronym Other Milestones: 2.10.0
Sorry, something went wrong.
@retronym said: scala/scala#1275
There is no way to clear the warning, but I don't see why anyone would want to do that.
retronym
No branches or pull requests
This happens to me with embarrassing regularity:
A warning would be lovely. If could be cleared with
def a = this.a
in case someone really wants to use this construct to contribute to global warming.The text was updated successfully, but these errors were encountered: