Aladdin - Scala Bugtracking
[#1007] project: compiler priority: low category: missing feature
submitter assigned to status date submitted
Stephane Martin won't fix 2007-03-15 15:01:59.0
subject Better error message for misuse of assigment operator
code
object test extends Application {
  val i = 0   // instead of "var i = 0"
  i += 1
}
what happened
test.scala:3: error: value += is not a member of scala.Int
  i += 1
    ^
what expected Prints out a better error message.
[back to overview]
Changes of this bug report
Stephane  edited on  2007-03-16 11:06:33.0
Martin  edited on  2007-03-30 15:32:01.0
I think the error message is OK.