cmd/compile: avoid follow-on errors for literals with syntax errors
- only convert literal strings if there were no syntax errors (some of the conversion routines exit if there is an error) - mark nodes for literals with syntax errors to avoid follow-on errors - don't attempt to import packages whose path had syntax errors Fixes #32133. Change-Id: I1803ad48c65abfecf6f48ddff1e27eded5e282c5 Reviewed-on: https://go-review.googlesource.com/c/go/+/192437Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Showing
test/fixedbugs/issue32133.go
0 → 100644
Please register or sign in to comment