Fixed order in Subst __repr__
This commit is contained in:
parent
642225b285
commit
eacf7542e5
2
ir.py
2
ir.py
|
@ -17,7 +17,7 @@ class Subst:
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
return repr(self)
|
return repr(self)
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
return f'{self.variable}/{self.replacement}'
|
return f'{self.replacement}/{self.variable}'
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
class IRProp:
|
class IRProp:
|
||||||
|
|
Loading…
Reference in a new issue