| 1 |
File "test_loc_type_eq.ml", line 1, characters 49-76: |
| 2 |
1 | module M : Test_functor.S with type elt = unit = Test_functor.Apply (String) |
| 3 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 4 |
Error: Signature mismatch: |
| 5 |
... |
| 6 |
Type declarations do not match: |
| 7 |
type elt = String.t |
| 8 |
is not included in |
| 9 |
type elt = unit |
| 10 |
The type String.t = string is not equal to the type unit |
| 11 |
File "test_loc_type_eq.ml", line 1, characters 31-46: |
| 12 |
Expected declaration |
| 13 |
File "test_functor.ml", line 8, characters 45-61: Actual declaration |
| 14 |
File "test_loc_modtype_type_eq.ml", line 3, characters 15-42: |
| 15 |
3 | module M : S = Test_functor.Apply (String) |
| 16 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 17 |
Error: Signature mismatch: |
| 18 |
Modules do not match: |
| 19 |
sig |
| 20 |
type elt = String.t |
| 21 |
type t = Test_functor.Apply(String).t |
| 22 |
val create : elt -> t |
| 23 |
end |
| 24 |
is not included in |
| 25 |
S |
| 26 |
Type declarations do not match: |
| 27 |
type elt = String.t |
| 28 |
is not included in |
| 29 |
type elt = unit |
| 30 |
The type String.t = string is not equal to the type unit |
| 31 |
File "test_loc_modtype_type_eq.ml", line 1, characters 36-51: |
| 32 |
Expected declaration |
| 33 |
File "test_functor.ml", line 8, characters 45-61: Actual declaration |
| 34 |
File "test_loc_type_subst.ml", line 1, characters 50-77: |
| 35 |
1 | module M : Test_functor.S with type elt := unit = Test_functor.Apply (String) |
| 36 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 37 |
Error: Signature mismatch: |
| 38 |
Modules do not match: |
| 39 |
sig |
| 40 |
type elt = String.t |
| 41 |
type t = Test_functor.Apply(String).t |
| 42 |
val create : elt -> t |
| 43 |
end |
| 44 |
is not included in |
| 45 |
sig type t val create : unit -> t end |
| 46 |
Values do not match: |
| 47 |
val create : elt -> t |
| 48 |
is not included in |
| 49 |
val create : unit -> t |
| 50 |
The type elt -> t is not compatible with the type unit -> t |
| 51 |
Type elt = string is not compatible with type unit |
| 52 |
File "test_loc_type_subst.ml", line 1, characters 11-47: |
| 53 |
Expected declaration |
| 54 |
File "test_functor.ml", line 5, characters 2-23: Actual declaration |
| 55 |
File "test_loc_modtype_type_subst.ml", line 3, characters 15-42: |
| 56 |
3 | module M : S = Test_functor.Apply (String) |
| 57 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 58 |
Error: Signature mismatch: |
| 59 |
Modules do not match: |
| 60 |
sig |
| 61 |
type elt = String.t |
| 62 |
type t = Test_functor.Apply(String).t |
| 63 |
val create : elt -> t |
| 64 |
end |
| 65 |
is not included in |
| 66 |
S |
| 67 |
Values do not match: |
| 68 |
val create : elt -> t |
| 69 |
is not included in |
| 70 |
val create : unit -> t |
| 71 |
The type elt -> t is not compatible with the type unit -> t |
| 72 |
Type elt = string is not compatible with type unit |
| 73 |
File "test_loc_modtype_type_subst.ml", line 1, characters 16-52: |
| 74 |
Expected declaration |
| 75 |
File "test_functor.ml", line 5, characters 2-23: Actual declaration |