cmd/go: go vet doesn't use go.work on Go 1.18 beta 2 #51072
Labels
Analysis
Issues related to static analysis (vet, x/tools/go/analysis)
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go.work
filego work edit -replace github.com/elazarl/goproxy=/home/guilhem/sources/goproxy/
go vet
fail using previous versiongo build
worksWhat did you expect to see?
go vet
should work likego build
using rightgo.work
replace
command.What did you see instead?
go vet
fail.The text was updated successfully, but these errors were encountered: