x/tools/gopls: strange output with gopls >= 0.3.0, no actual errors detected #37046
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.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What did you do?
Made an error in code:
What did you expect to see?
gopls to report the error (or rather, squiggly lines in vs code)
What did you see instead?
No errors, lots of strange logs in gpls output:
Build info
Go info
This same error happens if I run it from "workspace" root (/home/teeaa/foo/bar) or from GOPATH root (/home/teeaa/foo/bar/go). However if I open just the "app" dir (/home/teeaa/foo/bar/go/src/foobar/cmd/daemon/) the errors appear as expected but jumping to different code points defined in packages doesn't work anymore in VS Code. If I open the src root (/home/teeaa/foo/bar/go/src) the errors in my package are displayed correctly, as well as over 1K errors in installed dependencies :( Also it takes ages to load.
On Gopls 0.2.2 everything works.
The text was updated successfully, but these errors were encountered: