From efb5d8ba056fbae3f57a80f813a18c4a6da60f28 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 1 Feb 2022 11:34:13 -0500 Subject: Fix mlil call bases's type hint --- python/mediumlevelil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index f40a4b21..89e50f15 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -21,7 +21,7 @@ from abc import abstractmethod import ctypes import struct -from typing import Optional, List, Union, Mapping, Generator, NewType, Tuple, ClassVar +from typing import Optional, List, Union, Mapping, Generator, NewType, Tuple, ClassVar, Dict from dataclasses import dataclass # Binary Ninja components @@ -868,7 +868,7 @@ class MediumLevelILCallBase(MediumLevelILInstruction, Call): return self.output @property - def params(self) -> List[Union[SSAVariable, variable.Variable]]: + def params(self) -> List[Union[SSAVariable, variable.Variable, MediumLevelILInstruction]]: return NotImplemented @property -- cgit v1.3.1