x/tools/gopls: don't treat test mains as workspace packages #36473
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
The initial workspace load currently runs a
go list ./...
query for the entire workspace, so we get all packages in the workspace, including test mains. We need to stop providing diagnostics for these packages, as they aren't useful.@jayconrod, @matloob: Is there any reliable way to detect that a package is a test main?
The text was updated successfully, but these errors were encountered: