diff --git a/base/src/main/java/org/aya/core/visitor/Subst.java b/base/src/main/java/org/aya/core/visitor/Subst.java index 49fd5c6604..9cedb76b47 100644 --- a/base/src/main/java/org/aya/core/visitor/Subst.java +++ b/base/src/main/java/org/aya/core/visitor/Subst.java @@ -42,7 +42,7 @@ public record Subst( })); public Subst() { - this(MutableMap.create()); + this(MutableLinkedHashMap.of()); } public Subst(@NotNull AnyVar var, @NotNull Term term) { diff --git a/base/src/test/resources/failure/holes/issue747.aya.txt b/base/src/test/resources/failure/holes/issue747.aya.txt index c6518135ef..c189d603ab 100644 --- a/base/src/test/resources/failure/holes/issue747.aya.txt +++ b/base/src/test/resources/failure/holes/issue747.aya.txt @@ -11,7 +11,7 @@ Goal: Goal of type Context: {a : Nat} To ensure confluence: - Given (_ ⇒ 0, i ⇒ _), we should have: 0 + Given (i ⇒ _, _ ⇒ 0), we should have: 0 In file $FILE:11:13 ->