Skip to content

Commit 11d355f

Browse files
committed
I was wrong
1 parent 453a6eb commit 11d355f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ocaml/typing/typetexp.ml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -585,15 +585,12 @@ and transl_type_aux env policy mode styp =
585585
| (l, arg_mode, arg) :: rest ->
586586
check_arg_type arg;
587587
let arg_cty = transl_type env policy arg_mode arg in
588-
let acc_mode =
588+
let (loc, lin, _) =
589589
Alloc.Const.join
590590
(Alloc.Const.close_over arg_mode)
591591
(Alloc.Const.partial_apply acc_mode)
592592
in
593-
let acc_mode =
594-
Alloc.Const.join acc_mode
595-
(Alloc.Const.min_with_uniqueness Uniqueness.Const.Shared)
596-
in
593+
let acc_mode = (loc, lin, Uniqueness.Const.Shared) in
597594
let ret_mode =
598595
match rest with
599596
| [] -> ret_mode

0 commit comments

Comments
 (0)