From cc9e0a568e5b1e25eb43b57cdc624945c9fee822 Mon Sep 17 00:00:00 2001 From: Simone Date: Fri, 29 Sep 2023 17:41:52 +0200 Subject: [PATCH] Fix parsing super call expression --- slither/solc_parsing/expressions/expression_parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/solc_parsing/expressions/expression_parsing.py b/slither/solc_parsing/expressions/expression_parsing.py index 74ff593c70..4ed896ed9c 100644 --- a/slither/solc_parsing/expressions/expression_parsing.py +++ b/slither/solc_parsing/expressions/expression_parsing.py @@ -175,7 +175,7 @@ def parse_call( called = parse_expression(children[0], caller_context) arguments = [parse_expression(a, caller_context) for a in children[1::]] - if isinstance(called, SuperCallExpression): + if isinstance(called, SuperIdentifier): sp = SuperCallExpression(called, arguments, type_return) sp.set_offset(expression["src"], caller_context.compilation_unit) return sp