Skip to content

Commit d95f61c

Browse files
authored
chore(compiler): Cleanup unused errors (#2268)
1 parent 3124ede commit d95f61c

File tree

9 files changed

+0
-560
lines changed

9 files changed

+0
-560
lines changed

compiler/src/typed/checkertypes.re

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ type type_forcing_context =
2525
| If_no_else_branch
2626
| Loop_conditional
2727
| Loop_body
28-
| Assert_condition
2928
| Sequence_left_hand_side
3029
| Assign_not_box
3130
| Assign_not_array

compiler/src/typed/checkertypes.rei

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ type type_forcing_context =
1515
| If_no_else_branch
1616
| Loop_conditional
1717
| Loop_body
18-
| Assert_condition
1918
| Sequence_left_hand_side
2019
| Assign_not_box
2120
| Assign_not_array

compiler/src/typed/disambiguation.re

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ let report_type_expected_explanation = (expl, ppf) =>
442442
fprintf(ppf, "the result of a conditional with no else branch")
443443
| Loop_conditional => fprintf(ppf, "the condition of a loop")
444444
| Loop_body => fprintf(ppf, "the body of a loop")
445-
| Assert_condition => fprintf(ppf, "the condition of an assertion")
446445
| Sequence_left_hand_side =>
447446
fprintf(ppf, "the left-hand side of a sequence")
448447
| Assign_not_box => fprintf(ppf, "the left-hand side of a box assignment")

0 commit comments

Comments
 (0)