@@ -89,7 +89,7 @@ type builtin = {
89
89
let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config )
90
90
~(has_postbuild : string option ) ~(pp_file : string option )
91
91
~(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 )
93
93
~(namespace : string option ) ~package_name ~warnings
94
94
~(ppx_files : Bsb_config_types.ppx list ) ~bsc_flags ~(dpkg_incls : string )
95
95
~(lib_incls : string ) ~(dev_incls : string ) ~bs_dependencies
@@ -100,8 +100,6 @@ let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config)
100
100
since the default is already good -- it does not*)
101
101
let buf = Ext_buffer. create 100 in
102
102
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
105
103
let mk_ml_cmj_cmd ~(read_cmi : [ `yes | `is_cmi | `no ] ) ~is_dev ~postbuild :
106
104
string =
107
105
Ext_buffer. clear buf;
@@ -120,7 +118,6 @@ let make_custom_rules ~(gentype_config : Bsb_config_types.gentype_config)
120
118
(match gentype_config with
121
119
| false -> ()
122
120
| true -> Ext_buffer. add_string buf " -bs-gentype" );
123
- add_uncurried_flag uncurried;
124
121
if read_cmi <> `is_cmi then (
125
122
Ext_buffer. add_string buf " -bs-package-name " ;
126
123
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)
172
169
| None -> ()
173
170
| Some Classic -> Ext_buffer. add_string buf " -bs-jsx-mode classic"
174
171
| Some Automatic -> Ext_buffer. add_string buf " -bs-jsx-mode automatic" );
175
- add_uncurried_flag uncurried;
176
172
177
173
Ext_buffer. add_char_string buf ' ' bsc_flags;
178
174
Ext_buffer. add_string buf " -absname -bs-ast -o $out $i" ;
0 commit comments