@@ -142,7 +142,7 @@ Line 1, characters 24-25:
142
142
Error : This expression has type int32 # but an expression was expected of type
143
143
('a : value )
144
144
The layout of int32 # is bits32
145
- because it is the primitive bits32 type int32 #.
145
+ because it is the primitive type int32 #.
146
146
But the layout of int32 # must be a sublayout of value
147
147
because it's the type of a tuple element.
148
148
| }];;
@@ -166,7 +166,7 @@ Line 1, characters 18-24:
166
166
^^^^^^
167
167
Error : Tuple element types must have layout value.
168
168
The layout of int32 # is bits32
169
- because it is the primitive bits32 type int32 #.
169
+ because it is the primitive type int32 #.
170
170
But the layout of int32 # must be a sublayout of value
171
171
because it's the type of a tuple element.
172
172
| }];;
@@ -306,7 +306,7 @@ Line 1, characters 31-37:
306
306
^^^^^^
307
307
Error : This type signature for x is not a value type .
308
308
The layout of type int32 # is bits32
309
- because it is the primitive bits32 type int32 #.
309
+ because it is the primitive type int32 #.
310
310
But the layout of type int32 # must be a sublayout of value
311
311
because it's the type of something stored in a module structure.
312
312
| }];;
@@ -348,7 +348,7 @@ Line 1, characters 27-28:
348
348
Error : This expression has type int32 # but an expression was expected of type
349
349
('a : value )
350
350
The layout of int32 # is bits32
351
- because it is the primitive bits32 type int32 #.
351
+ because it is the primitive type int32 #.
352
352
But the layout of int32 # must be a sublayout of value
353
353
because it's the type of the field of a polymorphic variant.
354
354
| }];;
@@ -426,7 +426,7 @@ Line 1, characters 20-36:
426
426
Error : This expression has type int32 # but an expression was expected of type
427
427
('a : value )
428
428
The layout of int32 # is bits32
429
- because it is the primitive bits32 type int32 #.
429
+ because it is the primitive type int32 #.
430
430
But the layout of int32 # must be a sublayout of value
431
431
because of the definition of id_value at line 5 , characters 13 -18.
432
432
| }];;
@@ -631,7 +631,7 @@ Line 1, characters 26-43:
631
631
^^^^^^^^^^^^^^^^^
632
632
Error : The method x has type int32 # but is expected to have type ('a : value )
633
633
The layout of int32 # is bits32
634
- because it is the primitive bits32 type int32 #.
634
+ because it is the primitive type int32 #.
635
635
But the layout of int32 # must be a sublayout of value
636
636
because it's the type of an object field.
637
637
| }];;
@@ -643,7 +643,7 @@ Line 1, characters 26-40:
643
643
^^^^^^^^^^^^^^
644
644
Error : Variables bound in a class must have layout value.
645
645
The layout of x is bits32
646
- because it is the primitive bits32 type int32 #.
646
+ because it is the primitive type int32 #.
647
647
But the layout of x must be a sublayout of value
648
648
because it's the type of an instance variable.
649
649
| }];;
0 commit comments