x/tools/gopls: calling outgoingCalls from an var func panics #43376
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.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
With the cursor over first
foo
I calledtextDocument/prepareCallHierarchy
and with the returnedCallHierarchyItem
as parametercallHierarchy/outgoingCalls
.What did you expect to see?
The call to
outgoingCalls
return (no outgoing calls).What did you see instead?
gopls crashes with a panic:
The text was updated successfully, but these errors were encountered: