File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -359,7 +359,6 @@ module Make (Target : Target_sig.S) = struct
359359 }
360360
361361 let f ~context =
362- let context = { context with other_fields = context.other_fields } in
363362 IntMap. iter
364363 (fun arity name ->
365364 let f = apply ~context ~arity ~name in
@@ -389,6 +388,5 @@ module Make (Target : Target_sig.S) = struct
389388 (fun arity name ->
390389 let f = dummy ~context ~cps: true ~arity ~name in
391390 context.other_fields < - f :: context.other_fields)
392- context.cps_dummy_funs;
393- context
391+ context.cps_dummy_funs
394392end
Original file line number Diff line number Diff line change 1717 *)
1818
1919module Make (_ : Target_sig.S ) : sig
20- val f : context :Code_generation .context -> Code_generation .context
20+ val f : context :Code_generation .context -> unit
2121end
Original file line number Diff line number Diff line change @@ -1442,7 +1442,7 @@ module Generate (Target : Target_sig.S) = struct
14421442 toplevel_name, js_code
14431443
14441444 let output ~context =
1445- let context = Curry. f ~context in
1445+ Curry. f ~context ;
14461446 let imports =
14471447 List. concat
14481448 (List. map
You can’t perform that action at this time.
0 commit comments