x/tools/gopls: workspace symbols jumps to incorrect location with files with CGO #37659
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
Please answer these questions before submitting your issue. Thanks!
What did you do?
source code at https://github.com/jackielii/gopls-bug-report/tree/cgo
testcgo.go content:
main.go:
listing workspace symbols shows Hello properly, however, function
One
shows:What did you expect to see?
expect
One
to be current workspace, not from build cacheWhat did you see instead?
Build info
Go info
The text was updated successfully, but these errors were encountered: