x/tools/cmd/guru: Missing 'whicherrs' mode in what query to error type variable? #18938
Comments
CL https://golang.org/cl/37349 mentions this issue. |
gopherbot
pushed a commit
to golang/tools
that referenced
this issue
Mar 4, 2017
A 'what' query reports which other query modes are applicable to the selected syntax. A 'whicherrs' query is similar to a 'pointsto' query, so we enable it using the same criteria. Fixes issue golang/go#18938 Change-Id: Iae062e0c933c7764bc335488adabf816d63ac837 Reviewed-on: https://go-review.googlesource.com/37349 Reviewed-by: Dominik Honnef <dominik@honnef.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.7.4 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Run guru what mode query on an error type variable:
src/net/net.go:
What did you expect to see?
Should contains 'whicherrs' in output modes.
Run guru whicherrs mode query on the variable:
guru -scope net whicherrs /home/rokety/Software/go/src/net/net.go:#5854
What did you see instead?
The text was updated successfully, but these errors were encountered: