cmd/go: 'go get' in a module with a higher go version may leave go.(mod|sum) in bad state #50986
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Thinking
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
The latest
go1.16
version, yes.What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The
go mod tidy
step fails with:The
go generate
step fails with:(which is odd because the main module is
github.com/govim/govim
)What did you expect to see?
It strikes me that the
go get
step should probably have failed in the first instance, because it couldn't make the necessary changes togo.(mod|sum)
to leave both in a valid state.What did you see instead?
go.(mod|sum)
in a bad state that can't be corrected.The text was updated successfully, but these errors were encountered: