cmd/go: go help vet suggests "go install .../shadow" without @latest #56014
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What did you do?
What did you expect to see?
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest
What did you see instead?
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
It's probably enough to add
@latest
to https://github.com/golang/go/blob/go1.19.1/src/cmd/go/internal/vet/vet.go#L45Or rather to https://github.com/golang/go/blob/master/src/cmd/go/internal/vet/vet.go#L45
The text was updated successfully, but these errors were encountered: