cmd/vet: false positive about wrong argument for verb #23552
Closed
Comments
Thank you for taking the time to file these! |
Change https://golang.org/cl/90455 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.9.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What did you do?
Run
go vet
on the following file:What did you expect to see?
No errors.
What did you see instead?
For the first line
go vet
reportsarg [1]T{0} for printf verb %s of wrong type: [1]main.T
. This is false positive as file executes normally and prints[t][t]
.The text was updated successfully, but these errors were encountered: