cmd/vet: go 1.18 vet undocumented behavior change with use of -vettool #50195
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No, this issue does not reproduce with go1.17.5.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I ran go vet using the
-vettool
option.What did you expect to see?
I expected to see
go vet
, when run with-vettool
, to only run the vettool and not to run all the other vet checks. This is the behavior of go vet prior to Go 1.18.I also expected to see the shadow tool get used to vet the code.
What did you see instead?
I saw
go vet
output errors about composites, and I saw no outputs about issues that would normally be identified when running with-vettool
.It seems like the -vettool option is no longer taking any affect.
This issue is related to stellar/go#4143.
The text was updated successfully, but these errors were encountered: