We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b44d8 commit eea5150Copy full SHA for eea5150
lambda/translcore.ml
@@ -648,9 +648,9 @@ and transl_exp0 ~in_new_scope ~scopes sort e =
648
event_before ~scopes ifso (transl_exp ~scopes sort ifso),
649
lambda_unit,
650
Lambda.layout_unit)
651
- | Texp_sequence(expr1, sort, expr2) ->
652
- sort_must_not_be_void expr1.exp_loc expr1.exp_type sort;
653
- Lsequence(transl_exp ~scopes sort expr1,
+ | Texp_sequence(expr1, sort', expr2) ->
+ sort_must_not_be_void expr1.exp_loc expr1.exp_type sort';
+ Lsequence(transl_exp ~scopes sort' expr1,
654
event_before ~scopes expr2 (transl_exp ~scopes sort expr2))
655
| Texp_while {wh_body; wh_body_sort; wh_cond} ->
656
sort_must_not_be_void wh_body.exp_loc wh_body.exp_type wh_body_sort;
0 commit comments