pull/828/head
Josselin 4 years ago
parent 81bf2cce99
commit 8847899a43
  1. 2
      slither/slithir/variables/reference.py
  2. 2
      slither/slithir/variables/temporary.py
  3. 1
      slither/slithir/variables/tuple.py

@ -7,8 +7,8 @@ from slither.core.variables.variable import Variable
if TYPE_CHECKING: if TYPE_CHECKING:
from slither.core.cfg.node import Node from slither.core.cfg.node import Node
class ReferenceVariable(ChildNode, Variable):
class ReferenceVariable(ChildNode, Variable):
def __init__(self, node: "Node", index=None): def __init__(self, node: "Node", index=None):
super().__init__() super().__init__()
if index is None: if index is None:

@ -6,8 +6,8 @@ from slither.core.variables.variable import Variable
if TYPE_CHECKING: if TYPE_CHECKING:
from slither.core.cfg.node import Node from slither.core.cfg.node import Node
class TemporaryVariable(ChildNode, Variable):
class TemporaryVariable(ChildNode, Variable):
def __init__(self, node: "Node", index=None): def __init__(self, node: "Node", index=None):
super().__init__() super().__init__()
if index is None: if index is None:

@ -8,7 +8,6 @@ if TYPE_CHECKING:
class TupleVariable(ChildNode, SlithIRVariable): class TupleVariable(ChildNode, SlithIRVariable):
def __init__(self, node: "Node", index=None): def __init__(self, node: "Node", index=None):
super().__init__() super().__init__()
if index is None: if index is None:

Loading…
Cancel
Save