Skip to content

Commit

Permalink
STRUCT: more
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed Sep 16, 2021
1 parent 17dc04d commit 4f57875
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion base/src/main/java/org/aya/distill/CoreDistiller.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public record CoreDistiller(@NotNull DistillerOptions options) implements

@Override
public Doc visitFieldRef(@NotNull RefTerm.Field term, Boolean aBoolean) {
return varDoc(term.ref());
return linkRef(term.ref(), FIELD_CALL);
}

@Override public Doc visitError(@NotNull ErrorTerm term, Boolean aBoolean) {
Expand Down
1 change: 0 additions & 1 deletion base/src/main/java/org/aya/tyck/ExprTycker.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public final class ExprTycker {
public final @NotNull EqnSet termEqns = new EqnSet();
public final @NotNull Sort.LvlVar universe = new Sort.LvlVar("u", null);
public final @NotNull MutableMap<LevelGenVar, Sort.LvlVar> levelMapping = MutableMap.create();
private Term struct;

private void tracing(@NotNull Consumer<Trace.@NotNull Builder> consumer) {
if (traceBuilder != null) consumer.accept(traceBuilder);
Expand Down

0 comments on commit 4f57875

Please sign in to comment.