Skip to content

Commit 2739827

Browse files
committed
Fix issues with the arity of externals.
1 parent 7cdb66d commit 2739827

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jscomp/ml/translcore.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ let specialize_primitive p env ty (* ~has_constant_constructor *) =
459459
(* Eta-expand a primitive *)
460460

461461
let transl_primitive loc p env ty =
462+
(* Printf.eprintf "----transl_primitive %s----\n" p.prim_name; *)
462463
let prim =
463464
try specialize_primitive p env ty (* ~has_constant_constructor:false *)
464465
with Not_found -> Pccall p

0 commit comments

Comments
 (0)