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

Error message could suggest comma instead of ) #363

Closed
jakobnissen opened this issue Oct 3, 2023 · 1 comment
Closed

Error message could suggest comma instead of ) #363

jakobnissen opened this issue Oct 3, 2023 · 1 comment

Comments

@jakobnissen
Copy link

In the example:

julia> foo(a b)
ERROR: ParseError:
# Error @ REPL[2]:1:7
foo(a b)
#     ╙ ── Expected `)`

It would be better to suggest adding a , rather than a ). I don't know if this is feasible since it probably requires parsing ahead in front of the parser error to find the missing )

@KristofferC
Copy link
Member

Dup of #313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants