x/tools/gopls: references fails with 'no identifier found' #36917
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Filing this now so I don't forget, but the repro case won't be great. I was working in
golang.org/x/tools/internal/lsp/cache
package ingolang.org/x/tools/internal/lsp/cache/snapshot.go
. I did find references on a field of snapshot, specifically ons.ids
. It works fine if you run find references from the definition of the field, but it failed when I called it on a use of the field./cc @muirdm
The text was updated successfully, but these errors were encountered: