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 you define a value or variable in the REPL, the name, type and initial value are printed but the "val" or "var" keyword is omitted:
scala> var x = 5 x: Int = 5
This can lead to confusing values with variables. It would be better if the REPL printed the leading "val" or "var" keyword:
scala> var x = 5 var x: Int = 5
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-7960?orig=1 Reporter: Jason Swartz (swartzrock) Affected Versions: 2.11.0-M6
Sorry, something went wrong.
closing this one since a similar but bit broader ticket exists: #10024
No branches or pull requests
When you define a value or variable in the REPL, the name, type and initial value are printed but the "val" or "var" keyword is omitted:
This can lead to confusing values with variables. It would be better if the REPL printed the leading "val" or "var" keyword:
The text was updated successfully, but these errors were encountered: