We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Here's a simple test case:
package main import "go/parser" import "go/token" import "fmt" func main() { src := "s[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::] +\ns[::]" fset := token.NewFileSet() _, err := parser.ParseExprFrom(fset, "", src, 0) if err != nil { fmt.Println(err) } }
This should report:
1:3: 2nd index required in 3-index slice (and 10 more errors)
But it doesn't report an error at all.
See also discussion on https://go-review.googlesource.com/c/go/+/194638 .
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/194638 mentions this issue: go/parser: fix ignored errors in ParseExprFrom
go/parser: fix ignored errors in ParseExprFrom
Sorry, something went wrong.
d12c62d
No branches or pull requests
Here's a simple test case:
This should report:
But it doesn't report an error at all.
See also discussion on https://go-review.googlesource.com/c/go/+/194638 .
The text was updated successfully, but these errors were encountered: