Closed as not planned
Description
If a val definition contains an extra set of parenthesis, like if not correctly transforming a def into a val, the error reported by the compiler is not really helpful.
$ scalac test.scala
test.scala:5: error: not found: value a
val a(): String = ""
^
one error found
It would be better if the error was something like: expected ':' or '=', found '('