Skip to content

Commit 75caf83

Browse files
committed
test changes
1 parent a079f76 commit 75caf83

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ocaml/testsuite/tests/typing-layouts/basics_alpha.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Error: The type constraints are not consistent.
7171
The layout of t is any, because
7272
of the annotation on the declaration of the type t.
7373
But the layout of t must be a sublayout of '_representable_layout_3, because
74-
it appears as an unannotated type parameter.
74+
it instantiates an unannotated type parameter.
7575
|}]
7676

7777
module type S1 = sig
@@ -88,7 +88,7 @@ Error: The type constraints are not consistent.
8888
The layout of t is any, because
8989
of the annotation on the declaration of the type t.
9090
But the layout of t must be a sublayout of '_representable_layout_4, because
91-
it appears as an unannotated type parameter.
91+
it instantiates an unannotated type parameter.
9292
|}]
9393

9494
let f1 () : t_any = assert false;;
@@ -1820,5 +1820,5 @@ Error: This expression has type t_void but an expression was expected of type
18201820
The layout of t_void is void, because
18211821
of the annotation on the declaration of the type t_void.
18221822
But the layout of t_void must be a sublayout of value, because
1823-
it appears as an unannotated type parameter, defaulted to layout value.
1823+
it instantiates an unannotated type parameter, defaulted to layout value.
18241824
|}]

ocaml/testsuite/tests/typing-layouts/datatypes_alpha.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Error:
9090
The layout of 'b t1_constraint' is any, because
9191
of the annotation on the declaration of the type t_any.
9292
But the layout of 'b t1_constraint' must be a sublayout of '_representable_layout_4, because
93-
it appears as an unannotated type parameter.
93+
it instantiates an unannotated type parameter.
9494
|}]
9595
(* CR layouts errors: this error is blamed on the wrong piece *)
9696

0 commit comments

Comments
 (0)