Skip to content

Commit

Permalink
Remove parens in weak_head_normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Negabinary committed Aug 23, 2024
1 parent cb85b20 commit 5989651
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 5989651

Please sign in to comment.