@@ -34,8 +34,6 @@ let setup_runtime_path path =
34
34
Bs_version. package_name := std);
35
35
Js_config. customize_runtime := Some path
36
36
37
- let curry_specified = ref false
38
-
39
37
40
38
let process_file sourcefile ?(kind ) ppf =
41
39
(* This is a better default then "", it will be changed later
@@ -48,11 +46,6 @@ let process_file sourcefile ?(kind ) ppf =
48
46
match kind with
49
47
| None -> Ext_file_extensions. classify_input (Ext_filename. get_extension_maybe sourcefile)
50
48
| Some kind -> kind in
51
- (if ! curry_specified = false && ! Clflags. dump_source = false && ! Js_config. syntax_only = false && List. mem kind [Res ; Resi ] then
52
- let _ = Printf. eprintf " XXX curry not specified %s\n %!" sourcefile in
53
- let _ = assert false in
54
- ()
55
- );
56
49
let res = match kind with
57
50
| Res ->
58
51
let sourcefile = set_abs_input_name sourcefile in
@@ -413,10 +406,8 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
413
406
414
407
" -nopervasives" , set Clflags. nopervasives,
415
408
" *internal*" ;
416
- " -uncurried" , unit_call (fun () -> curry_specified := true ; Config. uncurried := Uncurried ),
417
- " *internal*" ;
418
- " -curried" , unit_call (fun () -> curry_specified := true ; Config. uncurried := Legacy ),
419
- " *internal*" ;
409
+ " -uncurried" , unit_call (fun () -> Config. uncurried := Uncurried ),
410
+ " *internal* Set jsx module" ;
420
411
" -v" , unit_call print_version_string,
421
412
" Print compiler version and location of standard library and exit" ;
422
413
0 commit comments