Skip to content
New issue

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

Feature requests: Better REPL error message? #16028

Open
He-Pin opened this issue Sep 13, 2022 · 1 comment
Open

Feature requests: Better REPL error message? #16028

He-Pin opened this issue Sep 13, 2022 · 1 comment

Comments

@He-Pin
Copy link

He-Pin commented Sep 13, 2022

Scala 3.2.0 in REPL

image

with input: va c:Long = 1

Expection:

Is there any chance that reminds me there should be a val?

@He-Pin He-Pin added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 13, 2022
@som-snytt
Copy link
Contributor

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.

@WojciechMazur WojciechMazur added itype:enhancement area:repl and removed itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants