The text was updated successfully, but these errors were encountered:
findleyr
changed the title
cmd/go: no error reported for duplicate module paths in go.work file
cmd/go: no error reported for duplicate module paths among modules in go.work
Jul 25, 2022
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: