Skip to content

Commit fb4a4b8

Browse files
authored
Merge pull request #869 from hacker-DOM/fix/assignment-to-type
Fix assignment to type in class Contract
2 parents d58edec + e5898e2 commit fb4a4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slither/core/declarations/contract.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, compilation_unit: "SlitherCompilationUnit"):
6767
self._variables_ordered: List["StateVariable"] = []
6868
self._modifiers: Dict[str, "Modifier"] = {}
6969
self._functions: Dict[str, "FunctionContract"] = {}
70-
self._linearizedBaseContracts = List[int]
70+
self._linearizedBaseContracts: List[int] = []
7171

7272
# The only str is "*"
7373
self._using_for: Dict[Union[str, Type], List[str]] = {}

0 commit comments

Comments
 (0)