go/parser: fails to parse an invalid switch statement #29148
Labels
Milestone
Comments
/cc @ianthehat |
Could be interesting to see what |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repro case:
In this case,
lit. case *ast.KeyValueExpr:
gets parsed into an *ast.BadStmt. This is a problem for tools that need to work on broken code.The text was updated successfully, but these errors were encountered: