Merge pull request #1912 from crytic/fix-return-variables-shadowing

FIx return variables shadowing compact AST
pull/1915/head
Feist Josselin 2 years ago committed by GitHub
commit 671dd2952e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      slither/solc_parsing/declarations/function.py

@ -774,6 +774,7 @@ class FunctionSolc(CallerContextExpression):
"nodeType": "Identifier",
"src": v["src"],
"name": v["name"],
"referencedDeclaration": v["id"],
"typeDescriptions": {"typeString": v["typeDescriptions"]["typeString"]},
}
var_identifiers.append(identifier)

Loading…
Cancel
Save