cmd/compile/internal/syntax: better error recovery after missing expression
Don't skip closing parentheses of any kind after a missing expression. They are likely part of the lexical construct enclosing the expression. Fixes #33386. Change-Id: Ic0abc2037ec339a345ec357ccc724b7ad2a64c00 Reviewed-on: https://go-review.googlesource.com/c/go/+/188502Reviewed-by:Matthew Dempsky <mdempsky@google.com>
Showing
test/fixedbugs/issue33386.go
0 → 100644
Please register or sign in to comment