We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 453a6eb commit 11d355fCopy full SHA for 11d355f
ocaml/typing/typetexp.ml
@@ -585,15 +585,12 @@ and transl_type_aux env policy mode styp =
585
| (l, arg_mode, arg) :: rest ->
586
check_arg_type arg;
587
let arg_cty = transl_type env policy arg_mode arg in
588
- let acc_mode =
+ let (loc, lin, _) =
589
Alloc.Const.join
590
(Alloc.Const.close_over arg_mode)
591
(Alloc.Const.partial_apply acc_mode)
592
in
593
594
- Alloc.Const.join acc_mode
595
- (Alloc.Const.min_with_uniqueness Uniqueness.Const.Shared)
596
- in
+ let acc_mode = (loc, lin, Uniqueness.Const.Shared) in
597
let ret_mode =
598
match rest with
599
| [] -> ret_mode
0 commit comments