Skip to content

Commit

Permalink
Removed some menhir elaboration test debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
green726 committed Oct 6, 2024
1 parent b852d0f commit 4c4eeb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/haz3lcore/dynamics/Elaborator.re
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,5 @@ let uexp_elab = (m: Statics.Map.t, uexp: UExp.t): ElaborationResult.t =>
switch (elaborate(m, uexp)) {
| exception MissingTypeInfo => DoesNotElaborate
| (d, ty) =>
print_endline("Elaborated: " ++ DHExp.show(d));
Elaborates(d, ty, Delta.empty);
};
7 changes: 1 addition & 6 deletions src/haz3lmenhir/Conversion.re
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,7 @@ module rec Exp: {
| Fun(p, e, name_opt) =>
switch (name_opt) {
| Some(name_str) =>
Fun(
Pat.of_menhir_ast(p),
of_menhir_ast(e),
None,
Some(name_str ++ "+"),
)
Fun(Pat.of_menhir_ast(p), of_menhir_ast(e), None, Some(name_str))
| None => Fun(Pat.of_menhir_ast(p), of_menhir_ast(e), None, None)
}
| ApExp(e1, args) =>
Expand Down

0 comments on commit 4c4eeb9

Please sign in to comment.