cmd/go: Incomplete field of 'go list' output not set if Error is set due to missing go:embed files #43727
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
https://tip.golang.org/cmd/go/#hdr-List_packages_or_modules documents the
Package
struct emitted bygo list
as:To me, that means that
p.Error != nil
must implyp.Incomplete == true
, sincep.Error != nil
is exactly “this package … has an error
”.However, it appears that the
Incomplete
field is not currently set whenp.Error
is set due to a missinggo:embed
input:The text was updated successfully, but these errors were encountered: