Skip to content

Commit a8250da

Browse files
committed
Fix derive projector arity.
1 parent 56a2a18 commit a8250da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/frontend/ast_derive_projector.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ let init () =
108108
annotate_type
109109
in
110110
Ext_list.fold_right vars exp (fun var b ->
111-
Ast_compatible.fun_ ~arity:(Some 1)
111+
Ast_compatible.fun_ ~arity:None
112112
(Pat.var {loc; txt = var})
113113
b)
114114
|> handle_uncurried_accessor_tranform ~arity))

0 commit comments

Comments
 (0)