Skip to content

Commit

Permalink
Fix unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3kk1d committed Nov 1, 2024
1 parent d88395e commit 7c5abb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/haz3lcore/dynamics/Elaborator.re
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ let rec elaborate = (m: Statics.Map.t, uexp: UExp.t): (DHExp.t, Typ.t) => {
elaborated_type(m, uexp);

let cast_from = (ty, exp) => fresh_cast(exp, ty, elaborated_type);
let (term, rewrap) = UExp.unwrap(uexp);
let (_, rewrap) = UExp.unwrap(uexp);
let uexp = rewrap(statics_pseudo_elaborated.term);
let term = statics_pseudo_elaborated.term;
let dhexp =
Expand Down
2 changes: 1 addition & 1 deletion src/haz3lcore/statics/Statics.re
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ and uexp_to_info_map =

let (term, rewrap) = UExp.unwrap(uexp);
let og_exp = Exp.fresh(term);
let (e, m) =
let (_, m) =
uexp_to_info_map(
~ctx,
~mode=Mode.Ana(ana_ty),
Expand Down

0 comments on commit 7c5abb5

Please sign in to comment.