x/tools/gopls: gopls fails to find a type definition #42585
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.
at gopls tip (eeaa07d), using vscode-insiders, open the x/tools repository
open internal/lsp/debug/serve.go
go to line 259: 'return i.State.View(path.Base(r.URL.Path))'
hover over 'View' (it says that View() returns a *cache.View)
Ask for the type definition. (It says "No type definition found for 'View'")
The type definition is found in internal/lsp/cache/view.go
Both these files are in the same module (tools/go.mod)
The text was updated successfully, but these errors were encountered: