x/tools/go/packages: packages.Load: internal error: go list gives conflicting information for package
#47065
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run
packages.Load
on packagesa
andb
whereb/b.go
importsa
,a/a.go
importsb
, buta/a_test.go
imports nothing.Runnable, detailed example:
What did you expect to see?
packages.Load
returns[]packages.Package
where for packagea
packages.Pacakge.Errors
contains errors like:Like it happen, when there is no
a/*_test.go
files, or they importsb
What did you see instead?
packages.Load
returns errorinternal error: go list gives conflicting information for package a [a.test]
Relates to #43821
The text was updated successfully, but these errors were encountered: