pull/802/head
Josselin 4 years ago
parent 28da1ad031
commit 2af8b2b425
  1. 5
      slither/solc_parsing/yul/parse_yul.py

@ -650,7 +650,10 @@ def parse_yul_function_call(root: YulScope, node: YulNode, ast: Dict) -> Optiona
if name == "stop": if name == "stop":
name = "return" name = "return"
ident = Identifier(SolidityFunction(format_function_descriptor(name))) ident = Identifier(SolidityFunction(format_function_descriptor(name)))
args = [Literal("0", ElementaryType("uint256")), Literal("0", ElementaryType("uint256"))] args = [
Literal("0", ElementaryType("uint256")),
Literal("0", ElementaryType("uint256")),
]
else: else:
ident = Identifier(SolidityFunction(format_function_descriptor(ident.value.name))) ident = Identifier(SolidityFunction(format_function_descriptor(ident.value.name)))

Loading…
Cancel
Save