Skip to content

Commit

Permalink
subst: always use a linked map
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Jan 7, 2023
1 parent ef94733 commit 7c01dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/src/main/java/org/aya/core/visitor/Subst.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public record Subst(
}));

public Subst() {
this(MutableMap.create());
this(MutableLinkedHashMap.of());
}

public Subst(@NotNull AnyVar var, @NotNull Term term) {
Expand Down
2 changes: 1 addition & 1 deletion base/src/test/resources/failure/holes/issue747.aya.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->

Expand Down

0 comments on commit 7c01dac

Please sign in to comment.