We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eef0ce3 commit f669914Copy full SHA for f669914
typing/ctype.ml
@@ -1356,9 +1356,6 @@ let rec copy_sep ~copy_scope ~fixed ~free ~may_share
1356
let row =
1357
copy_row (copy_rec ~may_share:true) fixed' row keep more' in
1358
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')
1362
| Tfield (p, k, ty1, ty2) ->
1363
(* the kind is kept shared, see Btype.copy_type_desc *)
1364
Tfield (p, field_kind_internal_repr k, copy_rec ~may_share:true ty1,
0 commit comments