-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/compile: better error for missed comma #8401
Labels
Milestone
Comments
Since there is no comma, it expects a '}'. But fair enough, it could say expected ',' or '}'. Created separate issue #8940 for go/parser. |
I believe this issue was fixed by https://go-review.googlesource.com/#/c/17080 and works as intended explaining the missing comma Please try clicking "Run" or "Format" on the original test program https://play.golang.org/p/5iVYdAPl8B or see the screenshots below |
Ping @bradfitz. |
Thanks. Closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: