cmd/go: reject packages whose import paths collide with std packages #53825
Labels
FrozenDueToAge
GoCommand
cmd/go
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
)?Does this issue reproduce with the latest release?
Yes
What did you do?
What did you expect to see?
build error
(no
main
function!)What did you see instead?
no error
And
go list
is confused, as a result, tools that depend on x/tools/go/packages (e.g.gopls
) are very confused.The text was updated successfully, but these errors were encountered: