Aladdin - Scala Bugtracking
[#565] project: compiler priority: low category: feature
submitter assigned to status date submitted
Stephane Martin fixed 2006-04-10 17:53:30.0
subject Better error handling
code
object test {
  var s0: String
  //var s1, s2: String
}
what happened
test.scala:2 error: only classes can have declared but undefined members
  var s0: String
  ^
test.scala:2 error: only classes can have declared but undefined members
  var s0: String
  ^
two errors found
what expected No duplicated error message (uncommenting line 3 would generate 6 errors!)
[back to overview]
Changes of this bug report
Martin  edited on  2006-04-12 18:37:10.0