Skip to content

x/tools/gopls: OutgoingCalls mishandles dynamic function calls #68153

Closed
@adonovan

Description

@adonovan

Screenshot 2024-06-24 at 12 57 11 PM

Observe that the "outgoing calls" view shows edges from the site of the call f(). (The target of the call appears to be a node equivalent to the enclosing node for Foo, which is just wrong; the target of the call is obviously unknown.) OutgoingCalls should not report dynamic calls.

Notice too that the order in which outgoing calls are listed appears to be nondeterministic.

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions