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
1 changed files with 1 additions and 1 deletions

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: