Skip to content

Commit 6740ffc

Browse files
authored
fix: Update add usage in function call (#425)
1 parent 4e5083d commit 6740ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/sdk/core/detached_symbols/function_call.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def _compute_dependencies(self, usage_type: UsageKind, dest: HasName | None = No
600600
if isinstance(match, FunctionCall):
601601
match._compute_dependencies(usage_type, dest)
602602
for definition in self.function_definition_frames:
603-
definition.add_usage(match=self, dest=dest, usage_type=usage_type, codebase_context=self.ctx)
603+
definition.add_usage(self, usage_type, dest, self.ctx)
604604
else:
605605
match._compute_dependencies(usage_type, dest)
606606

0 commit comments

Comments
 (0)