Skip to content

Commit

Permalink
Merge pull request #1912 from crytic/fix-return-variables-shadowing
Browse files Browse the repository at this point in the history
FIx return variables shadowing compact AST
  • Loading branch information
montyly authored May 15, 2023
2 parents aa61cef + 1f10aaf commit 671dd29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slither/solc_parsing/declarations/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,7 @@ def _parse_variable_definition(self, statement: Dict, node: NodeSolc) -> NodeSol
"nodeType": "Identifier",
"src": v["src"],
"name": v["name"],
"referencedDeclaration": v["id"],
"typeDescriptions": {"typeString": v["typeDescriptions"]["typeString"]},
}
var_identifiers.append(identifier)
Expand Down

0 comments on commit 671dd29

Please sign in to comment.