x/tools/gopls: filter out overlays in the module cache #71816
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
In #71075, it is suggested that the Go command return errors if overlays are in the module cache.
Right now, gopls may construct such overlays if the user opens a module cache file (which they would do when jumping to definition).
We should filter out overlays for module cache files. If the user edits a module cache file, we should surface an error.
Putting this in the v0.19.0 milestone, to be done before the release of Go 1.25.
Originally posted by @findleyr in #71075
The text was updated successfully, but these errors were encountered: