-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/vet: printf analyzer fails with generics #70572
Labels
Milestone
Comments
cc: @matloob |
Thanks for the helpful report; I agree that this is a bug. |
https://go.dev/cl/631955 fixes the bug in x/tools; but we would need to re-vendor or cherrypick it into GOROOT for cmd/vet in go1.24. |
Change https://go.dev/cl/631955 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go version
go version go1.22.3 windows/amd64
Output of
go env
in your module/workspace:What did you do?
Run this code in Go Playground (https://go.dev/play/p/Bop_vKP8EM0) or edit with
vscode
.What did you see happen?
Go vet failed on line 22 with the following log and line 22 is marked as failed in
vscode
.What did you expect to see?
Go vet failed on lines 22 and 23 with the following log and lines 22 and 23 are marked as failed in
vscode
.The text was updated successfully, but these errors were encountered: