Skip to content

Commit 80dcdff

Browse files
committed
fix
1 parent 1a32269 commit 80dcdff

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

compiler/tests-full/stdlib.cma.expected.js

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36136,8 +36136,8 @@
3613636136
/*<<effect.ml:28:11>>*/ return 0;
3613736137
var
3613836138
x = /*<<effect.ml:22:16>>*/ param[2],
36139-
_i_ = /*<<effect.ml:25:12>>*/ caml_call1(Stdlib_Printexc[26], x),
36140-
msg = /*<<effect.ml:24:18>>*/ caml_call2(Stdlib_Printf[4], _a_, _i_);
36139+
_o_ = /*<<effect.ml:25:12>>*/ caml_call1(Stdlib_Printexc[26], x),
36140+
msg = /*<<effect.ml:24:18>>*/ caml_call2(Stdlib_Printf[4], _a_, _o_);
3614136141
/*<<effect.ml:27:8>>*/ return [0, msg];
3614236142
/*<<effect.ml:28:15>>*/ }
3614336143
/*<<effect.ml:30:2>>*/ caml_call1(Stdlib_Printexc[9], printer);
@@ -36155,22 +36155,28 @@
3615536155
"Effect.Continuation_already_resumed",
3615636156
Continuation_already_resumed);
3615736157
function continue$0(k, v){
36158-
var _h_ = /*<<effect.ml:62:11>>*/ caml_continuation_use_noexc(k);
36159-
function _g_(x){
36158+
var
36159+
_l_ = /*<<effect.ml:62:11>>*/ k[2],
36160+
_n_ = caml_continuation_use_noexc(k);
36161+
function _m_(x){
3616036162
/*<<effect.ml:62:41>>*/ return x;
3616136163
/*<<effect.ml:62:42>>*/ }
3616236164
/*<<effect.ml:62:30>>*/ return jsoo_effect_not_supported() /*<<effect.ml:62:65>>*/ ;
3616336165
}
3616436166
function discontinue(k, e){
36165-
var _f_ = /*<<effect.ml:65:11>>*/ caml_continuation_use_noexc(k);
36166-
function _e_(e){
36167+
var
36168+
_i_ = /*<<effect.ml:65:11>>*/ k[2],
36169+
_k_ = caml_continuation_use_noexc(k);
36170+
function _j_(e){
3616736171
/*<<effect.ml:65:41>>*/ throw caml_maybe_attach_backtrace(e, 1);
3616836172
/*<<effect.ml:65:48>>*/ }
3616936173
/*<<effect.ml:65:30>>*/ return jsoo_effect_not_supported() /*<<effect.ml:65:71>>*/ ;
3617036174
}
3617136175
function discontinue_with_backtrace(k, e, bt){
36172-
var _d_ = /*<<effect.ml:68:11>>*/ caml_continuation_use_noexc(k);
36173-
function _c_(e){
36176+
var
36177+
_f_ = /*<<effect.ml:68:11>>*/ k[2],
36178+
_h_ = caml_continuation_use_noexc(k);
36179+
function _g_(e){
3617436180
/*<<effect.ml:68:41>>*/ caml_restore_raw_backtrace(e, bt);
3617536181
throw caml_maybe_attach_backtrace(e, 0);
3617636182
/*<<effect.ml:68:75>>*/ }
@@ -36187,8 +36193,9 @@
3618736193
}
3618836194
var
3618936195
s =
36190-
/*<<effect.ml:87:12>>*/ caml_alloc_stack(handler[1], handler[2], effc);
36191-
/*<<effect.ml:88:4>>*/ return jsoo_effect_not_supported() /*<<effect.ml:88:23>>*/ ;
36196+
/*<<effect.ml:87:12>>*/ caml_alloc_stack(handler[1], handler[2], effc),
36197+
_e_ = /*<<effect.ml:88:4>>*/ 0;
36198+
return jsoo_effect_not_supported() /*<<effect.ml:88:23>>*/ ;
3619236199
}
3619336200
function try_with(comp, arg, handler){
3619436201
function effc(eff, k, last_fiber){
@@ -36208,8 +36215,9 @@
3620836215
function(e){
3620936216
/*<<effect.ml:101:47>>*/ throw caml_maybe_attach_backtrace(e, 1);
3621036217
/*<<effect.ml:101:54>>*/ },
36211-
effc);
36212-
/*<<effect.ml:102:4>>*/ return jsoo_effect_not_supported() /*<<effect.ml:102:23>>*/ ;
36218+
effc),
36219+
_d_ = /*<<effect.ml:102:4>>*/ 0;
36220+
return jsoo_effect_not_supported() /*<<effect.ml:102:23>>*/ ;
3621336221
}
3621436222
var
3621536223
Deep =
@@ -36243,7 +36251,7 @@
3624336251
var s = /*<<effect.ml:135:12>>*/ caml_alloc_stack(error, error, effc);
3624436252
/*<<effect.ml:136:4>>*/ try{
3624536253
/*<<effect.ml:136:10>>*/ jsoo_effect_not_supported();
36246-
var _b_ = /*<<effect.ml:136:26>>*/ 0;
36254+
var _b_ = /*<<effect.ml:136:26>>*/ 0, _c_ = 0;
3624736255
}
3624836256
catch(exn$0){
3624936257
var exn = /*<<?>>*/ caml_wrap_exception(exn$0);
@@ -36263,6 +36271,7 @@
3626336271
/*<<effect.ml:160:10>>*/ return caml_call1(f, k) /*<<effect.ml:161:42>>*/ ;
3626436272
}
3626536273
var
36274+
last_fiber = /*<<effect.ml:163:4>>*/ k[2],
3626636275
stack =
3626736276
/*<<effect.ml:164:16>>*/ runtime.caml_continuation_use_and_update_handler_noexc
3626836277
(k, handler[1], handler[2], effc);

0 commit comments

Comments
 (0)