Skip to content

Commit f669914

Browse files
committed
simplify further
1 parent eef0ce3 commit f669914

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

typing/ctype.ml

-3
Original file line numberDiff line numberDiff line change
@@ -1356,9 +1356,6 @@ let rec copy_sep ~copy_scope ~fixed ~free ~may_share
13561356
let row =
13571357
copy_row (copy_rec ~may_share:true) fixed' row keep more' in
13581358
Tvariant row
1359-
| Tpoly (t1, tl) ->
1360-
let tl' = List.map (copy_rec ~may_share:true) tl in
1361-
Tpoly (copy_rec ~may_share:true t1, tl')
13621359
| Tfield (p, k, ty1, ty2) ->
13631360
(* the kind is kept shared, see Btype.copy_type_desc *)
13641361
Tfield (p, field_kind_internal_repr k, copy_rec ~may_share:true ty1,

0 commit comments

Comments
 (0)