Fixed order in Subst __repr__

This commit is contained in:
Emi Simpson 2023-03-05 19:15:24 -05:00
parent 642225b285
commit eacf7542e5
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

2
ir.py
View file

@ -17,7 +17,7 @@ class Subst:
def __str__(self) -> str:
return repr(self)
def __repr__(self) -> str:
return f'{self.variable}/{self.replacement}'
return f'{self.replacement}/{self.variable}'
@dataclass(frozen=True)
class IRProp: