x/tools/gopls: include function literals as outgoing callhierarchy calls #43438
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
help wanted
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?What did you do?
Called
callHierarchy/outgoingCalls
fromfunc fn()
:What did you expect to see?
I expected to get one result; the function literal at the line below.
The main reason is for consistency, since calling
callHierarchy/incomingCalls
fromfunc fn2()
will return the function literal.What did you see instead?
No outgoing calls from
fn()
.The text was updated successfully, but these errors were encountered: