Skip to content

Commit d8b16b2

Browse files
committed
Revert unnecessary changes
1 parent 7f821c9 commit d8b16b2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/haz3lcore/lang/MakeTerm.re

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ and typ_term: unsorted => (Typ.term, list(Id.t)) = {
721721
fun
722722
| Op(tiles) as tm =>
723723
switch (tiles) {
724-
| ([(id, tile)], []) =>
724+
| ([(_id, tile)], []) =>
725725
ret(
726726
switch (tile) {
727727
| ([t], []) when Token.is_empty_tuple(t) => Prod([])
@@ -737,10 +737,6 @@ and typ_term: unsorted => (Typ.term, list(Id.t)) = {
737737
| ([t], []) when Token.is_quoted_label(t) =>
738738
Label(Token.sub(t, 1, Token.length(t) - 2))
739739
| (["(", ")"], [Typ(body)]) => Parens(body)
740-
// TODO
741-
// | (label, [Typ(body)]) when is_probe_wrap(label) =>
742-
// let should = should_instrument(id);
743-
// should ? Probe(body, Probe.empty) : body.term;
744740
| (["PROJ_WRAP", "PROJ_WRAP"], [Typ(body)]) => body.term
745741
| (["[", "]"], [Typ(body)]) => List(body)
746742
| ([t], []) when is_hole_label(t) => hole(tm)

src/haz3lcore/pretty/ExpToSegment.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ let external_precedence_pat = (dp: Pat.t) =>
190190
| MultiHole(_) => Precedence.min
191191
};
192192

193-
let rec external_precedence_typ = (tp: Typ.t) =>
193+
let external_precedence_typ = (tp: Typ.t) =>
194194
switch (Typ.term_of(tp)) {
195195
// Indivisible forms never need parentheses around them
196196
| Unknown(Hole(Invalid(_)))

0 commit comments

Comments
 (0)