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

go/parser: report an error but accept `func f(); {}` at the top level for better recovery #34946

griesemer opened this issue Oct 17, 2019 · 1 comment


Copy link

@griesemer griesemer commented Oct 17, 2019

Reminder issue. See #34942 for context. Decide if worthwhile.

Copy link

@gopherbot gopherbot commented Oct 21, 2019

Change mentions this issue: go/parser: better error (recovery) for Allman/BSD-style func decls

@gopherbot gopherbot closed this in a59808e Oct 21, 2019
@golang golang locked and limited conversation to collaborators Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.