From eacf7542e53da956c0817b738730d762a5cf8007 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Sun, 5 Mar 2023 19:15:24 -0500 Subject: [PATCH] Fixed order in Subst __repr__ --- ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir.py b/ir.py index af8bab4..5efb405 100644 --- a/ir.py +++ b/ir.py @@ -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: