Skip to content

Commit

Permalink
fix VarInfo for function arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jun 22, 2024
1 parent 45d2c48 commit 7779b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/semantics/analysis/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def analyze(self):

for arg in self.func.arguments:
self.namespace[arg.name] = VarInfo(
arg.typ, location=location, modifiability=modifiability
arg.typ, location=location, modifiability=modifiability, decl_node=arg
)

for node in self.fn_node.body:
Expand Down

0 comments on commit 7779b6a

Please sign in to comment.