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

surprising error for two commas #114

Closed
JeffBezanson opened this issue Oct 4, 2022 · 0 comments · Fixed by #261
Closed

surprising error for two commas #114

JeffBezanson opened this issue Oct 4, 2022 · 0 comments · Fixed by #261
Labels
error messages Better, more actionable diagnostics

Comments

@JeffBezanson
Copy link
Sponsor Member

julia> a,,b
ERROR: ParseError:
Error: unexpected closing token

I don't see this as a closing token. The standard parser says

julia> a,,b
ERROR: syntax: unexpected ","

which seems to make more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Better, more actionable diagnostics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants