File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -89035,16 +89035,16 @@ let rec float_equal ?comment (e0 : t) (e1 : t) : t =
89035
89035
| Number (Int {i = i0 ; _}), Number (Int {i = i1; }) ->
89036
89036
bool (i0 = i1)
89037
89037
| Undefined , Undefined -> true_
89038
- | (Bin(Bor,
89038
+ (* | (Bin(Bor,
89039
89039
{expression_desc = Number(Int {i = 0l; _})},
89040
89040
({expression_desc = Caml_block_tag _; _} as a ))
89041
89041
|
89042
89042
Bin(Bor,
89043
89043
({expression_desc = Caml_block_tag _; _} as a),
89044
89044
{expression_desc = Number (Int {i = 0l; _})})),
89045
- Number (Int {i = 0l; _})
89045
+ Number (Int {i = 0l;}) when e1.comment = None
89046
89046
-> (** (x.tag | 0) === 0 *)
89047
- not a
89047
+ not a *)
89048
89048
| (Bin(Bor,
89049
89049
{expression_desc = Number(Int {i = 0l; _})},
89050
89050
({expression_desc = Caml_block_tag _; _} as a ))
@@ -105078,12 +105078,12 @@ let lambda ppf v =
105078
105078
List.iter
105079
105079
(fun (n, l) ->
105080
105080
if !spc then fprintf ppf "@ " else spc := true;
105081
- fprintf ppf "@[<hv 1>case int %i:@ %a@]" n lam l)
105081
+ fprintf ppf "@[<hv 1>case int %i %S :@ %a@]" n (match sw.sw_names with None -> "" | Some x -> x.consts.(n)) lam l)
105082
105082
sw.sw_consts;
105083
105083
List.iter
105084
105084
(fun (n, l) ->
105085
105085
if !spc then fprintf ppf "@ " else spc := true;
105086
- fprintf ppf "@[<hv 1>case tag %i:@ %a@]" n lam l)
105086
+ fprintf ppf "@[<hv 1>case tag %i %S :@ %a@]" n (match sw.sw_names with None -> "" | Some x -> x.blocks.(n)) lam l)
105087
105087
sw.sw_blocks ;
105088
105088
begin match sw.sw_failaction with
105089
105089
| None -> ()
Original file line number Diff line number Diff line change @@ -89035,16 +89035,16 @@ let rec float_equal ?comment (e0 : t) (e1 : t) : t =
89035
89035
| Number (Int {i = i0 ; _}), Number (Int {i = i1; }) ->
89036
89036
bool (i0 = i1)
89037
89037
| Undefined , Undefined -> true_
89038
- | (Bin(Bor,
89038
+ (* | (Bin(Bor,
89039
89039
{expression_desc = Number(Int {i = 0l; _})},
89040
89040
({expression_desc = Caml_block_tag _; _} as a ))
89041
89041
|
89042
89042
Bin(Bor,
89043
89043
({expression_desc = Caml_block_tag _; _} as a),
89044
89044
{expression_desc = Number (Int {i = 0l; _})})),
89045
- Number (Int {i = 0l; _})
89045
+ Number (Int {i = 0l;}) when e1.comment = None
89046
89046
-> (** (x.tag | 0) === 0 *)
89047
- not a
89047
+ not a *)
89048
89048
| (Bin(Bor,
89049
89049
{expression_desc = Number(Int {i = 0l; _})},
89050
89050
({expression_desc = Caml_block_tag _; _} as a ))
@@ -105078,12 +105078,12 @@ let lambda ppf v =
105078
105078
List.iter
105079
105079
(fun (n, l) ->
105080
105080
if !spc then fprintf ppf "@ " else spc := true;
105081
- fprintf ppf "@[<hv 1>case int %i:@ %a@]" n lam l)
105081
+ fprintf ppf "@[<hv 1>case int %i %S :@ %a@]" n (match sw.sw_names with None -> "" | Some x -> x.consts.(n)) lam l)
105082
105082
sw.sw_consts;
105083
105083
List.iter
105084
105084
(fun (n, l) ->
105085
105085
if !spc then fprintf ppf "@ " else spc := true;
105086
- fprintf ppf "@[<hv 1>case tag %i:@ %a@]" n lam l)
105086
+ fprintf ppf "@[<hv 1>case tag %i %S :@ %a@]" n (match sw.sw_names with None -> "" | Some x -> x.blocks.(n)) lam l)
105087
105087
sw.sw_blocks ;
105088
105088
begin match sw.sw_failaction with
105089
105089
| None -> ()
Original file line number Diff line number Diff line change @@ -378932,16 +378932,16 @@ let rec float_equal ?comment (e0 : t) (e1 : t) : t =
378932
378932
| Number (Int {i = i0 ; _}), Number (Int {i = i1; }) ->
378933
378933
bool (i0 = i1)
378934
378934
| Undefined , Undefined -> true_
378935
- | (Bin(Bor,
378935
+ (* | (Bin(Bor,
378936
378936
{expression_desc = Number(Int {i = 0l; _})},
378937
378937
({expression_desc = Caml_block_tag _; _} as a ))
378938
378938
|
378939
378939
Bin(Bor,
378940
378940
({expression_desc = Caml_block_tag _; _} as a),
378941
378941
{expression_desc = Number (Int {i = 0l; _})})),
378942
- Number (Int {i = 0l; _})
378942
+ Number (Int {i = 0l;}) when e1.comment = None
378943
378943
-> (** (x.tag | 0) === 0 *)
378944
- not a
378944
+ not a *)
378945
378945
| (Bin(Bor,
378946
378946
{expression_desc = Number(Int {i = 0l; _})},
378947
378947
({expression_desc = Caml_block_tag _; _} as a ))
@@ -387554,12 +387554,12 @@ let lambda ppf v =
387554
387554
List.iter
387555
387555
(fun (n, l) ->
387556
387556
if !spc then fprintf ppf "@ " else spc := true;
387557
- fprintf ppf "@[<hv 1>case int %i:@ %a@]" n lam l)
387557
+ fprintf ppf "@[<hv 1>case int %i %S :@ %a@]" n (match sw.sw_names with None -> "" | Some x -> x.consts.(n)) lam l)
387558
387558
sw.sw_consts;
387559
387559
List.iter
387560
387560
(fun (n, l) ->
387561
387561
if !spc then fprintf ppf "@ " else spc := true;
387562
- fprintf ppf "@[<hv 1>case tag %i:@ %a@]" n lam l)
387562
+ fprintf ppf "@[<hv 1>case tag %i %S :@ %a@]" n (match sw.sw_names with None -> "" | Some x -> x.blocks.(n)) lam l)
387563
387563
sw.sw_blocks ;
387564
387564
begin match sw.sw_failaction with
387565
387565
| None -> ()
You can’t perform that action at this time.
0 commit comments