cmd/go: using go list -json=, EmbedFiles affects the presence of CompiledGoFiles, Export fields #59255
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Discovered while debugging a problem with go/packages, but minimized below. Observe that the presence of the
EmbedFiles
field ingo list -json
affects the presence of theCompiledGoFiles
andExport
fields.This example was run from a workspace checked out to kubernetes@v1.24.0. This appears to affect many but not all packages. In this case
./pkg/kubelet/container
does not have anygo:embed
directives, but perhaps this is related to a package in its transitive dependencies.The text was updated successfully, but these errors were encountered: