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
1084810848 [] ->
1084910849 raise Constr_not_found
1085010850 | {cd_args = Cstr_tuple []; _} as c :: rem ->
10851- if tag = Cstr_constant num_const
10851+ if Types.equal_tag tag ( Cstr_constant num_const)
1085210852 then c
1085310853 else find_constr tag (num_const + 1) num_nonconst rem
1085410854 | 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
1085610856 then c
1085710857 else find_constr tag num_const (num_nonconst + 1) rem
1085810858
Original file line number Diff line number Diff line change @@ -10848,11 +10848,11 @@ let rec find_constr tag num_const num_nonconst = function
1084810848 [] ->
1084910849 raise Constr_not_found
1085010850 | {cd_args = Cstr_tuple []; _} as c :: rem ->
10851- if tag = Cstr_constant num_const
10851+ if Types.equal_tag tag ( Cstr_constant num_const)
1085210852 then c
1085310853 else find_constr tag (num_const + 1) num_nonconst rem
1085410854 | 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
1085610856 then c
1085710857 else find_constr tag num_const (num_nonconst + 1) rem
1085810858
Original file line number Diff line number Diff line change @@ -298808,11 +298808,11 @@ let rec find_constr tag num_const num_nonconst = function
298808298808 [] ->
298809298809 raise Constr_not_found
298810298810 | {cd_args = Cstr_tuple []; _} as c :: rem ->
298811- if tag = Cstr_constant num_const
298811+ if Types.equal_tag tag ( Cstr_constant num_const)
298812298812 then c
298813298813 else find_constr tag (num_const + 1) num_nonconst rem
298814298814 | 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
298816298816 then c
298817298817 else find_constr tag num_const (num_nonconst + 1) rem
298818298818
You can’t perform that action at this time.
0 commit comments