cmd/go: list reports bad test edges #26354
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go list reports that the regular testutil package imports "lib [lib.test]", which is surprising: "lib [lib.test]" is a necessary package in this -test query result because lib was a goal, but the regular testutil should depend on the regular lib package.
Also observe that the Deps of testutil includes the regular lib and not "lib [lib.test]", which contradicts its Imports section. Perhaps the Deps are expressed as keys in the ImportMap, or perhaps Deps is just wrong. Either way, confusing.
The text was updated successfully, but these errors were encountered: