Fix type on variable.name

pull/1323/head
Josselin Feist 2 years ago
parent 4b7541f8e3
commit ce1fc4f60a
  1. 3
      slither/core/variables/variable.py

@ -66,11 +66,10 @@ class Variable(SourceMapping):
return not self._initialized return not self._initialized
@property @property
def name(self) -> str: def name(self) -> Optional[str]:
""" """
str: variable name str: variable name
""" """
assert self._name
return self._name return self._name
@name.setter @name.setter

Loading…
Cancel
Save