Skip to content

Commit 917dde4

Browse files
committed
snapshot
1 parent 7095739 commit 917dde4

File tree

6 files changed

+12
-19
lines changed

6 files changed

+12
-19
lines changed

lib/4.06.1/unstable/all_ounit_tests.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9441,7 +9441,7 @@ val force_cmj : bool ref
94419441

94429442
val jsx_version : int ref
94439443
val refmt : string option ref
9444-
val is_reason : bool ref
9444+
94459445

94469446
val js_stdout : bool ref
94479447

@@ -9552,7 +9552,6 @@ let jsx_version = ref (-1)
95529552

95539553
let refmt = ref None
95549554

9555-
let is_reason = ref false
95569555

95579556
let js_stdout = ref true
95589557

lib/4.06.1/unstable/bspack.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11281,7 +11281,7 @@ val force_cmj : bool ref
1128111281

1128211282
val jsx_version : int ref
1128311283
val refmt : string option ref
11284-
val is_reason : bool ref
11284+
1128511285

1128611286
val js_stdout : bool ref
1128711287

@@ -11392,7 +11392,6 @@ let jsx_version = ref (-1)
1139211392

1139311393
let refmt = ref None
1139411394

11395-
let is_reason = ref false
1139611395

1139711396
let js_stdout = ref true
1139811397

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17821,7 +17821,7 @@ val force_cmj : bool ref
1782117821

1782217822
val jsx_version : int ref
1782317823
val refmt : string option ref
17824-
val is_reason : bool ref
17824+
1782517825

1782617826
val js_stdout : bool ref
1782717827

@@ -17932,7 +17932,6 @@ let jsx_version = ref (-1)
1793217932

1793317933
let refmt = ref None
1793417934

17935-
let is_reason = ref false
1793617935

1793717936
let js_stdout = ref true
1793817937

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17821,7 +17821,7 @@ val force_cmj : bool ref
1782117821

1782217822
val jsx_version : int ref
1782317823
val refmt : string option ref
17824-
val is_reason : bool ref
17824+
1782517825

1782617826
val js_stdout : bool ref
1782717827

@@ -17932,7 +17932,6 @@ let jsx_version = ref (-1)
1793217932

1793317933
let refmt = ref None
1793417934

17935-
let is_reason = ref false
1793617935

1793717936
let js_stdout = ref true
1793817937

lib/4.06.1/unstable/native_ppx.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23225,7 +23225,7 @@ val force_cmj : bool ref
2322523225

2322623226
val jsx_version : int ref
2322723227
val refmt : string option ref
23228-
val is_reason : bool ref
23228+
2322923229

2323023230
val js_stdout : bool ref
2323123231

@@ -23336,7 +23336,6 @@ let jsx_version = ref (-1)
2333623336

2333723337
let refmt = ref None
2333823338

23339-
let is_reason = ref false
2334023339

2334123340
let js_stdout = ref true
2334223341

lib/4.06.1/whole_compiler.ml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297194,7 +297194,7 @@ val force_cmj : bool ref
297194297194

297195297195
val jsx_version : int ref
297196297196
val refmt : string option ref
297197-
val is_reason : bool ref
297197+
297198297198

297199297199
val js_stdout : bool ref
297200297200

@@ -297305,7 +297305,6 @@ let jsx_version = ref (-1)
297305297305

297306297306
let refmt = ref None
297307297307

297308-
let is_reason = ref false
297309297308

297310297309
let js_stdout = ref true
297311297310

@@ -415835,10 +415834,11 @@ let after_parsing_sig ppf outputprefix ast =
415835415834
end;
415836415835
if !Js_config.binary_ast then
415837415836
begin
415837+
let sourcefile = !Location.input_name in
415838415838
Binary_ast.write_ast
415839415839
Mli
415840-
~sourcefile:!Location.input_name
415841-
~output:(outputprefix ^ if !Js_config.is_reason then Literals.suffix_reiast else Literals.suffix_mliast)
415840+
~sourcefile
415841+
~output:(outputprefix ^ Filename.extension sourcefile ^ "ast")
415842415842
(* to support relocate to another directory *)
415843415843
ast
415844415844

@@ -415942,10 +415942,9 @@ let after_parsing_impl ppf outputprefix (ast : Parsetree.structure) =
415942415942
close_out oc ;
415943415943
end;
415944415944
if !Js_config.binary_ast then
415945-
Binary_ast.write_ast ~sourcefile:!Location.input_name
415946-
Ml ~output:(outputprefix ^
415947-
if !Js_config.is_reason then Literals.suffix_reast else Literals.suffix_mlast
415948-
)
415945+
let sourcefile = !Location.input_name in
415946+
Binary_ast.write_ast ~sourcefile
415947+
Ml ~output:(outputprefix ^ Filename.extension sourcefile ^ "ast")
415949415948
ast ;
415950415949
if !Js_config.syntax_only then
415951415950
Warnings.check_fatal ()
@@ -418960,7 +418959,6 @@ let process_implementation_file ppf name =
418960418959

418961418960

418962418961
let setup_reason_context () =
418963-
Js_config.is_reason := true;
418964418962
Lazy.force Super_main.setup;
418965418963
Lazy.force Reason_outcome_printer_main.setup
418966418964

0 commit comments

Comments
 (0)