Skip to content

Commit

Permalink
Remove parens in weak_head_normalize (#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus- authored Aug 28, 2024
2 parents 2208cd3 + 5989651 commit 4037935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/haz3lcore/lang/term/Typ.re
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ let is_consistent = (ctx: Ctx.t, ty1: t, ty2: t): bool =>

let rec weak_head_normalize = (ctx: Ctx.t, ty: t): t =>
switch (term_of(ty)) {
| Parens(t) => weak_head_normalize(ctx, t)
| Var(x) =>
switch (Ctx.lookup_alias(ctx, x)) {
| Some(ty) => weak_head_normalize(ctx, ty)
Expand Down

0 comments on commit 4037935

Please sign in to comment.