x/tools/gopls: diagnostics not cleared after configuration change #56158
Labels
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
When gopls receives a major configuration change (one that requires reloading), it does not explicitly purge diagnostics for all files. As a result, if the configuration change causes a file to no longer be considered part of the workspace, or if under the new configuration the file does not have diagnostics, gopls will not re-publish empty diagnostics.
Low priority, as configuration changes are rare, but this is wrong.
The text was updated successfully, but these errors were encountered: