File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10848,11 +10848,11 @@ let rec find_constr tag num_const num_nonconst = function
10848
10848
[] ->
10849
10849
raise Constr_not_found
10850
10850
| {cd_args = Cstr_tuple []; _} as c :: rem ->
10851
- if tag = Cstr_constant num_const
10851
+ if Types.equal_tag tag ( Cstr_constant num_const)
10852
10852
then c
10853
10853
else find_constr tag (num_const + 1) num_nonconst rem
10854
10854
| c :: rem ->
10855
- if tag = Cstr_block num_nonconst || tag = Cstr_unboxed
10855
+ if Types.equal_tag tag ( Cstr_block num_nonconst) || tag = Cstr_unboxed
10856
10856
then c
10857
10857
else find_constr tag num_const (num_nonconst + 1) rem
10858
10858
Original file line number Diff line number Diff line change @@ -10848,11 +10848,11 @@ let rec find_constr tag num_const num_nonconst = function
10848
10848
[] ->
10849
10849
raise Constr_not_found
10850
10850
| {cd_args = Cstr_tuple []; _} as c :: rem ->
10851
- if tag = Cstr_constant num_const
10851
+ if Types.equal_tag tag ( Cstr_constant num_const)
10852
10852
then c
10853
10853
else find_constr tag (num_const + 1) num_nonconst rem
10854
10854
| c :: rem ->
10855
- if tag = Cstr_block num_nonconst || tag = Cstr_unboxed
10855
+ if Types.equal_tag tag ( Cstr_block num_nonconst) || tag = Cstr_unboxed
10856
10856
then c
10857
10857
else find_constr tag num_const (num_nonconst + 1) rem
10858
10858
Original file line number Diff line number Diff line change @@ -298808,11 +298808,11 @@ let rec find_constr tag num_const num_nonconst = function
298808
298808
[] ->
298809
298809
raise Constr_not_found
298810
298810
| {cd_args = Cstr_tuple []; _} as c :: rem ->
298811
- if tag = Cstr_constant num_const
298811
+ if Types.equal_tag tag ( Cstr_constant num_const)
298812
298812
then c
298813
298813
else find_constr tag (num_const + 1) num_nonconst rem
298814
298814
| c :: rem ->
298815
- if tag = Cstr_block num_nonconst || tag = Cstr_unboxed
298815
+ if Types.equal_tag tag ( Cstr_block num_nonconst) || tag = Cstr_unboxed
298816
298816
then c
298817
298817
else find_constr tag num_const (num_nonconst + 1) rem
298818
298818
You can’t perform that action at this time.
0 commit comments