Skip to content

Commit 62335cd

Browse files
committed
tweak
1 parent a04008c commit 62335cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jscomp/core/lam_compile_external_call.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ let assemble_args_no_splice call_loc ffi
174174
match labels, args with
175175
| [], _
176176
-> assert (args = []) ; empty_pair
177-
| { arg_label = Empty ; arg_type = Arg_cst cst } :: labels, args
178-
| { arg_label = Label ; arg_type = Arg_cst cst} :: labels, args ->
177+
| { arg_label = Empty | Label ; arg_type = Arg_cst cst } :: labels, args
178+
->
179179
let accs, eff = aux labels args in
180180
Lam_compile_const.translate_arg_cst cst :: accs, eff
181181
| {arg_label = Empty | Label | Optional as arg_label ; arg_type } ::labels,
@@ -201,8 +201,8 @@ let assemble_args_has_splice call_loc ffi (arg_types : specs) (args : exprs)
201201
let rec aux (labels : specs) (args : exprs) =
202202
match labels, args with
203203
| [] , _ -> assert (args = []); empty_pair
204-
| { arg_label = Empty ; arg_type = Arg_cst cst} :: labels , args
205-
| { arg_label = Label ; arg_type = Arg_cst cst } :: labels , args ->
204+
| { arg_label = Empty | Label; arg_type = Arg_cst cst} :: labels , args
205+
->
206206
let accs, eff = aux labels args in
207207
Lam_compile_const.translate_arg_cst cst :: accs, eff
208208
| ({arg_label = Empty | Label | Optional as arg_label; arg_type }) ::labels,

0 commit comments

Comments
 (0)