diff --git a/slither/core/variables/variable.py b/slither/core/variables/variable.py index 0558be52c..5fda02e93 100644 --- a/slither/core/variables/variable.py +++ b/slither/core/variables/variable.py @@ -66,11 +66,10 @@ class Variable(SourceMapping): return not self._initialized @property - def name(self) -> str: + def name(self) -> Optional[str]: """ str: variable name """ - assert self._name return self._name @name.setter