scala3
scala3 copied to clipboard
Feature requests: Better REPL error message?
Scala 3.2.0 in REPL

with input: va c:Long = 1
Expection:
Is there any chance that reminds me there should be a val?
This belongs in https://github.com/lampepfl/dotty-feature-requests
It's an interesting idea to offer extra syntax support for learners in a special module.
The weird thing is that scalac blunders into typer and emits an extra error. In Scala 2, the parse errors are enough to call it a day.