From a2cdc67c28d6355e7efafcdd79cb682750801bb9 Mon Sep 17 00:00:00 2001 From: Josselin Date: Thu, 12 Sep 2019 12:29:17 +0200 Subject: [PATCH] Add missing set_expression --- slither/slithir/convert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slither/slithir/convert.py b/slither/slithir/convert.py index ac3bb4f86..bfd04ca6a 100644 --- a/slither/slithir/convert.py +++ b/slither/slithir/convert.py @@ -708,6 +708,7 @@ def convert_to_solidity_func(ir): call = SolidityFunction('abi.{}()'.format(ir.function_name)) new_ir = SolidityCall(call, ir.nbr_arguments, ir.lvalue, ir.type_call) new_ir.arguments = ir.arguments + new_ir.set_expression(ir.expression) if isinstance(call.return_type, list) and len(call.return_type) == 1: new_ir.lvalue.set_type(call.return_type[0]) else: