We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://golang.org/pkg/go/ast/#GenDecl says:
A valid Lparen position (Lparen.Line > 0) indicates a parenthesized declaration.
But LParent is a https://golang.org/pkg/go/token/#Pos which is just an int. It doesn't have a "Line" field.
The text was updated successfully, but these errors were encountered:
Yes, the documentation is broken. Will fix.
Sorry, something went wrong.
CL https://golang.org/cl/33669 mentions this issue.
6eb11b2
No branches or pull requests
https://golang.org/pkg/go/ast/#GenDecl says:
But LParent is a https://golang.org/pkg/go/token/#Pos which is just an int. It doesn't have a "Line" field.
The text was updated successfully, but these errors were encountered: