New issue
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
cmd/go: go list crashes when func Example has no body #28044
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Comments
dmitshur
changed the title
go list: crash when func Example has no body
cmd/go: go list crashes when func Example has no body
Oct 6, 2018
dmitshur
added
NeedsFix
The path to resolution is known, but the work has not been done.
GoCommand
cmd/go
labels
Oct 6, 2018
Would it be a good idea if we skip the empty examples altogether? |
Change https://golang.org/cl/140317 mentions this issue: |
A related crash is still unfixed:
|
That one looks like a bug in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
The underlying cause appears to be an unguarded nil dereference of ast.File.Body in go/doc.Examples.
The text was updated successfully, but these errors were encountered: