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?
to your account
Apply the example from the inspect godoc.
See this playground example demonstrating the compile error.
Not a compile error.
This specific line in the godoc for inspect.go (https://github.com/golang/tools/blob/master/go/analysis/passes/inspect/inspect.go#L19) should say:
Which can be verified in this playground example.
The text was updated successfully, but these errors were encountered:
I can take up this issue 👍
Sorry, something went wrong.
go/analysis/passes/inspect: fix incorrect example
Change https://golang.org/cl/202817 mentions this issue: fix: incorrect example for analysis/passes/inspect
fix: incorrect example for analysis/passes/inspect
You da man Rohan.
Successfully merging a pull request may close this issue.