From 42d6e974bff5e6329a92f7b68c8a67c36cf0fd4e Mon Sep 17 00:00:00 2001 From: Josselin Date: Fri, 10 May 2019 13:53:24 +0100 Subject: [PATCH] Temporary fix for POP function --- slither/slithir/convert.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slither/slithir/convert.py b/slither/slithir/convert.py index b24bfab68..31b141a57 100644 --- a/slither/slithir/convert.py +++ b/slither/slithir/convert.py @@ -874,6 +874,9 @@ def convert_constant_types(irs): if isinstance(func, StateVariable): types = export_nested_types_from_variable(func) else: + if func is None: + # TODO: add POP instruction + break types = [p.type for p in func.parameters] for idx, arg in enumerate(ir.arguments): t = types[idx]