x/tools/gopls: sudden errors in unrelated files #38730
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
What did you do?
Edited code in a single test file in VSCode.
What did you expect to see?
Only my current file should be affected by changes in a test package.
What did you see instead?
Suddenly, a large number of unrelated files were marked as having errors. I did not have any of these files open, nor did I change them, nor did (as far as I know) any program on my computer touch them. All the errors in them are spurious; restarting gopls causes them to go away.
Log: gopls.log.gz. This is from gopls started, so fairly large. Jump to line 14890 to see what looks like the first error.
Note: While I have
GOFLAGS=-tags=...
set, none of the affected files use build tags.Build info
Go info
The text was updated successfully, but these errors were encountered: