This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Description
I’m trying to build a stack graph for either of the following Python input files:
list_args.py:
def my_fn(*args: list):
pass
dict_kwargs.py:
def my_fn(**kwargs: dict):
pass
But in both cases I get the following error:
BuildError::ExecutionError(InContext(Statement([StatementContext { statement: "edge @name.def -> @param.param_name at (871, 3)", statement_location: Location { row: 870, column: 2 }, stanza_location: Location { row: 860, column: 0 }, source_location: Location { row: 0, column: 10 }, node_kind: "typed_parameter" }]), InContext(Other("Evaluating edge source"), UndefinedScopedVariable("[syntax node list_splat_pattern (1, 11)].def"))))
This is using stack-graphs 0.14.1 with tree-sitter-stack-graphs-python 0.3.0.