@@ -1149,7 +1149,7 @@ Error: The kind of type "t" is value
1149
1149
because it instantiates an unannotated type parameter of t,
1150
1150
chosen to have kind value.
1151
1151
But the kind of type "t" must be a subkind of
1152
- immutable_data mod global aliased
1152
+ immutable_data mod global yielding aliased
1153
1153
because of the annotation on the declaration of the type t.
1154
1154
|}]
1155
1155
(* CR layouts v2.8: this should be accepted *)
@@ -1164,7 +1164,7 @@ Error: The kind of type "t" is value
1164
1164
because it instantiates an unannotated type parameter of t,
1165
1165
chosen to have kind value.
1166
1166
But the kind of type "t" must be a subkind of
1167
- immutable_data mod global aliased
1167
+ immutable_data mod global yielding aliased
1168
1168
because of the annotation on the declaration of the type t.
1169
1169
|}]
1170
1170
(* CR layouts v2.8: this should be accepted *)
@@ -1245,7 +1245,7 @@ type 'a t : value mod global = { x : 'a @@ global }
1245
1245
Line 1, characters 0-51:
1246
1246
1 | type 'a t : value mod global = { x : 'a @@ global }
1247
1247
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1248
- Error: The kind of type "t" is value
1248
+ Error: The kind of type "t" is value mod unyielding
1249
1249
because it's a boxed record type.
1250
1250
But the kind of type "t" must be a subkind of value mod global
1251
1251
because of the annotation on the declaration of the type t.
@@ -1424,7 +1424,7 @@ Line 1, characters 41-51:
1424
1424
^^^^^^^^^^
1425
1425
Error: This expression has type "< >" but an expression was expected of type
1426
1426
"('a : value mod aliased)"
1427
- The kind of < > is value mod global many unyielding
1427
+ The kind of < > is value mod global many
1428
1428
because it's the type of an object.
1429
1429
But the kind of < > must be a subkind of value mod aliased
1430
1430
because of the annotation on the wildcard _ at line 1, characters 19-36.
@@ -1437,7 +1437,7 @@ Line 1, characters 42-52:
1437
1437
^^^^^^^^^^
1438
1438
Error: This expression has type "< >" but an expression was expected of type
1439
1439
"('a : value mod portable)"
1440
- The kind of < > is value mod global many unyielding
1440
+ The kind of < > is value mod global many
1441
1441
because it's the type of an object.
1442
1442
But the kind of < > must be a subkind of value mod portable
1443
1443
because of the annotation on the wildcard _ at line 1, characters 19-37.
@@ -1450,7 +1450,7 @@ Line 1, characters 43-53:
1450
1450
^^^^^^^^^^
1451
1451
Error: This expression has type "< >" but an expression was expected of type
1452
1452
"('a : value mod contended)"
1453
- The kind of < > is value mod global many unyielding
1453
+ The kind of < > is value mod global many
1454
1454
because it's the type of an object.
1455
1455
But the kind of < > must be a subkind of value mod contended
1456
1456
because of the annotation on the wildcard _ at line 1, characters 19-38.
@@ -1463,7 +1463,7 @@ Line 1, characters 43-53:
1463
1463
^^^^^^^^^^
1464
1464
Error: This expression has type "< >" but an expression was expected of type
1465
1465
"('a : value mod external_)"
1466
- The kind of < > is value mod global many unyielding
1466
+ The kind of < > is value mod global many
1467
1467
because it's the type of an object.
1468
1468
But the kind of < > must be a subkind of value mod external_
1469
1469
because of the annotation on the wildcard _ at line 1, characters 19-38.
0 commit comments