x/tools/gopls: cannot navigate unsafe package from vscode thru gopls #43058
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
What did you do?
edit below golang code in vscode with gopls used, try navigate Sizeof function to open unsafe.go
What did you expect to see?
navigate from unsafe usage to unsafe.go in
vscode
when using gopls. if gopls is not used, vscode works to navigate on unsafe packageWhat did you see instead?
fail to navigate, showing "No definition found for 'Sizeof'", open unsafe.go in the same vscode window, will see the following problem on package line

Build info
The text was updated successfully, but these errors were encountered: