Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/gopls: "failed to run analyses for file" on all files #32221
Please answer these questions before submitting your issue. Thanks!
What did you do?
Open VSC with a Go file opened.
What did you expect to see?
No error diagnostics.
What did you see instead?
Error on my package statement:
The hover gets larger and larger as more files are opened, to the point of lagging VSC because it's so long, like (truncated):
I install gopls globally in GOPATH mode (with my other utilities), so no mod version info, but the hash I'm at is 38d8bcf.
If I go back one commit to 521d6ed (one commit behind), then things are fine.