@@ -86287,15 +86287,13 @@ let make_block ?comment
86287
86287
| _ -> comment in
86288
86288
let es =
86289
86289
match tag_info with
86290
-
86291
86290
| Blk_record_inlined (des, _,_)
86292
86291
->
86293
86292
Ext_list.mapi es (fun i e -> merge_outer_comment des.(i) e)
86294
86293
| Blk_record_ext des
86295
86294
->
86296
86295
Ext_list.mapi es (fun i e ->
86297
86296
if i <> 0 then merge_outer_comment des.(i-1) e else e)
86298
-
86299
86297
(* TODO: may overriden its previous comments *)
86300
86298
| Blk_record _
86301
86299
| Blk_module _
@@ -99417,19 +99415,15 @@ let tag_is_zero (tag : J.expression) =
99417
99415
match tag_info with
99418
99416
| Blk_poly_var _
99419
99417
| Blk_constructor _ -> true
99420
-
99421
99418
| Blk_record_inlined _ -> true
99422
-
99423
99419
| Blk_record _
99424
99420
| Blk_module_export
99425
99421
| Blk_module _ -> false
99426
99422
| Blk_tuple
99427
99423
| Blk_extension
99428
99424
| Blk_class
99429
99425
| Blk_array
99430
-
99431
99426
| Blk_record_ext _ -> false
99432
-
99433
99427
| Blk_extension_slot -> false
99434
99428
| Blk_na _ -> not (tag_is_zero tag )
99435
99429
@@ -99443,18 +99437,12 @@ let needBlockRuntime (tag : J.expression) (tag_info : J.tag_info) =
99443
99437
| Blk_extension
99444
99438
| Blk_class
99445
99439
| Blk_array -> false
99446
-
99447
99440
| Blk_record_inlined (_,_,1)
99448
-
99449
99441
| Blk_constructor (_, 1)
99450
99442
| Blk_na _ -> not (tag_is_zero tag)
99451
-
99452
99443
| Blk_record_inlined _
99453
-
99454
99444
| Blk_constructor _ -> true
99455
-
99456
99445
| Blk_record_ext _
99457
-
99458
99446
| Blk_extension_slot -> false
99459
99447
(* converted to [Pcreate_extension] in the beginning*)
99460
99448
@@ -100088,7 +100076,7 @@ end = struct
100088
100076
*)
100089
100077
(* Authors: Jérôme Vouillon, Hongbo Zhang *)
100090
100078
100091
- [@@@ocaml.warning "-57"] (* turn off such warning temporarily*)
100079
+ [@@@ocaml.warning "-57"] (* FIXME: turn off such warning temporarily*)
100092
100080
100093
100081
(*
100094
100082
http://stackoverflow.com/questions/2846283/what-are-the-rules-for-javascripts-automatic-semicolon-insertion-asi
@@ -100942,16 +100930,13 @@ and expression_desc cxt ~(level:int) f x : cxt =
100942
100930
end
100943
100931
100944
100932
100945
-
100946
- | Blk_record_inlined _ (* TODO: No support for debug mode yet *)
100947
100933
100934
+ | Blk_record_inlined _ (* TODO: No support for debug mode yet *)
100948
100935
| Blk_tuple
100949
100936
| Blk_extension
100950
100937
| Blk_class
100951
100938
| Blk_array
100952
-
100953
100939
| Blk_record_ext _
100954
-
100955
100940
| Blk_extension_slot
100956
100941
| Blk_na _
100957
100942
->
@@ -136800,9 +136785,7 @@ let after_parsing_sig ppf outputprefix ast =
136800
136785
Env.set_unit_name modulename;
136801
136786
136802
136787
let tsg = Typemod.type_interface
136803
-
136804
136788
!Location.input_name
136805
-
136806
136789
initial_env ast in
136807
136790
if !Clflags.dump_typedtree then fprintf ppf "%a@." Printtyped.interface tsg;
136808
136791
let sg = tsg.sig_type in
@@ -136819,7 +136802,6 @@ let after_parsing_sig ppf outputprefix ast =
136819
136802
let sg =
136820
136803
Env.save_signature ~deprecated sg modulename (outputprefix ^ ".cmi")
136821
136804
in
136822
-
136823
136805
Typemod.save_signature modulename tsg outputprefix !Location.input_name
136824
136806
initial_env sg ;
136825
136807
process_with_gentype (outputprefix ^ ".cmti");
@@ -136845,9 +136827,8 @@ let interface_mliast ppf fname outputprefix =
136845
136827
136846
136828
136847
136829
let get_lambda = fun
136848
-
136849
136830
{Lambda.code = lambda}
136850
- -> lambda
136831
+ -> lambda
136851
136832
136852
136833
136853
136834
let all_module_alias (ast : Parsetree.structure)=
0 commit comments