We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i do this in the REPL
import annotation.static @static var x = 42
I get a stacktrace and at the end
That entry seems to have slain the compiler. Shall I replay your session? I can re-run each line except the last one. [y/n]
btw
import annotation.static @static val x = 42
does that too
but
import annotation.static @static def x = 42
not
This works in the REPL
import annotation.static object Test { @static var x = 42 }
This crashes the REPL and compiler:
import annotation.static class Test { @static def x = 42 }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6189?orig=1 Reporter: DaveScala (davescala) Affected Versions: 2.10.0-M6 See #4581
Sorry, something went wrong.
@axel22 said: scala/scala#1138
axel22
No branches or pull requests
when i do this in the REPL
I get a stacktrace and at the end
btw
does that too
but
not
This works in the REPL
This crashes the REPL and compiler:
The text was updated successfully, but these errors were encountered: