cmd/go: no error reported for duplicate module paths among modules in go.work #54048
Labels
FrozenDueToAge
GoCommand
cmd/go
help wanted
modules
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Spin off from #53933, where gopls did not present a workspace error for a problematic
go.work
file because thego
command was happy.The go command does not return an error for duplicate module paths in a
go.work
file. Instead, it happily lets the last directory win:CC @bcmills
The text was updated successfully, but these errors were encountered: