x/tools/gopls: guarantee that metadata is acyclic #59675
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
release-blocker
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Tracking issue: so much of the new type-checking logic in the incremental gopls design relies on metadata being acyclic; and yet I believe the check for cycles may be incomplete when the package graph is built incrementally across multiple calls to
go/packages.Load
. We must break cycles explicitly inmetadataGraph.build
.Enforcing this invariant explicitly should block the release.
CC @adonovan
The text was updated successfully, but these errors were encountered: