@@ -89,7 +89,7 @@ type builtin = {
8989let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config )
9090 ~(has_postbuild : string option ) ~(pp_file : string option )
9191 ~(reason_react_jsx : Bsb_config_types.reason_react_jsx option )
92- ~(jsx : Bsb_jsx.t ) ~(uncurried : bool ) ~( digest : string ) ~(package_specs : Bsb_package_specs.t )
92+ ~(jsx : Bsb_jsx.t ) ~(digest : string ) ~(package_specs : Bsb_package_specs.t )
9393 ~(namespace : string option ) ~package_name ~warnings
9494 ~(ppx_files : Bsb_config_types.ppx list ) ~bsc_flags ~(dpkg_incls : string )
9595 ~(lib_incls : string ) ~(dev_incls : string ) ~bs_dependencies
@@ -100,8 +100,6 @@ let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config)
100100 since the default is already good -- it does not*)
101101 let buf = Ext_buffer. create 100 in
102102 let ns_flag = match namespace with None -> " " | Some n -> " -bs-ns " ^ n in
103- let add_uncurried_flag b =
104- if b then Ext_buffer. add_string buf " -uncurried" in
105103 let mk_ml_cmj_cmd ~(read_cmi : [ `yes | `is_cmi | `no ] ) ~is_dev ~postbuild :
106104 string =
107105 Ext_buffer. clear buf;
@@ -120,7 +118,6 @@ let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config)
120118 (match gentype_config with
121119 | false -> ()
122120 | true -> Ext_buffer. add_string buf " -bs-gentype" );
123- add_uncurried_flag uncurried;
124121 if read_cmi <> `is_cmi then (
125122 Ext_buffer. add_string buf " -bs-package-name " ;
126123 Ext_buffer. add_string buf (Ext_filename. maybe_quote package_name);
@@ -172,7 +169,6 @@ let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config)
172169 | None -> ()
173170 | Some Classic -> Ext_buffer. add_string buf " -bs-jsx-mode classic"
174171 | Some Automatic -> Ext_buffer. add_string buf " -bs-jsx-mode automatic" );
175- add_uncurried_flag uncurried;
176172
177173 Ext_buffer. add_char_string buf ' ' bsc_flags;
178174 Ext_buffer. add_string buf " -absname -bs-ast -o $out $i" ;
0 commit comments