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
x/tools/go/analysis/cmd/vet: delete this program #31886
Comments
@andybons I would like to help unblock this release-blocker. Right now, compare between master of go and tools report, |
I believe the decision was to just delete Adding new checks to |
I don't think so. This CL 181717 is merged today, for adding |
I agree with the hat. We've planned to add errorsas a while ago. I think it's better to proceed with caution than to add a new analyzer. We should delete the vet tool in tools: it's a safer thing to do, especially in the freeze. |
@gopherbot please add label NeedsDecision |
@ianthehat @matloob It sounds like you feel that someone should delete this program. Could one of you do that soon, so that it can be in the 1.13 release? Thanks. |
x/tools is not actually part of the release, and no changes are needed in the vet that is part of the release, so this is not really a release blocker given the decision to just delete the one in x/tools. I agree we should just get it done anyway though. |
Change https://golang.org/cl/192177 mentions this issue: |
go tool vet
andgolang.org/x/tools/go/analysis/cmd/vet
should have the same set of checks but today do not. It looks like the x/tools version adds atomicalign, errorsas, and nilness.If any of these are not ready to go into std (and nilness seems to be called out explicitly as not for std), they should not be in the x/tools vet either. (If the x/tools vet is going to intentionally diverge from cmd/vet, we should avoid confusion by naming it something different from
vet
.)/cc @matloob @ianthehat
The text was updated successfully, but these errors were encountered: