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

Closed
griesemer opened this issue Oct 17, 2019 · 1 comment
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@griesemer
Copy link
Contributor

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

@griesemer griesemer added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 17, 2019
@griesemer griesemer added this to the Backlog milestone Oct 17, 2019
@griesemer griesemer self-assigned this Oct 17, 2019
@griesemer griesemer modified the milestones: Backlog, Go1.14 Oct 21, 2019
@gopherbot
Copy link

Change https://golang.org/cl/202484 mentions this issue: go/parser: better error (recovery) for Allman/BSD-style func decls

@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.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants