x/tools/gopls: invalid metadata after removing recursive import #52729
Labels
FrozenDueToAge
gopls/metadata
Issues related to metadata loading in gopls
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
I observed today while working on
go/types
: my package was broken due to a trivial recursive import: goimports inserted an import of go/types inmethodset.go
because I typedtypes.<...>
rather than just<...>
. Goimports shouldn't do that, but independently when I removed the import, thego list
errors persisted.Looks like a metadata invalidation bug.
The text was updated successfully, but these errors were encountered: