|
1 | | - Objective Caml version 3.09+dev4 (2004-10-13) |
| 1 | + Objective Caml version 3.09+dev9 (2004-11-29) |
2 | 2 |
|
3 | 3 | # * * * # type 'a t = { t : 'a; } |
4 | 4 | # type 'a fold = { fold : 'b. f:('b -> 'a -> 'b) -> init:'b -> 'b; } |
@@ -144,9 +144,9 @@ This method has type 'a -> 'a which is less general than 'b. 'b -> 'b |
144 | 144 | # Characters 24-28: |
145 | 145 | This expression has type bool but is here used with type int |
146 | 146 | # Characters 27-31: |
147 | | -Warning: This use of a polymorphic method is not principal |
| 147 | +Warning X: this use of a polymorphic method is not principal. |
148 | 148 | Characters 35-39: |
149 | | -Warning: This use of a polymorphic method is not principal |
| 149 | +Warning X: this use of a polymorphic method is not principal. |
150 | 150 | val f4 : id -> int * bool = <fun> |
151 | 151 | # class c : object method m : #id -> int * bool end |
152 | 152 | # class id2 : object method id : 'a -> 'a method mono : int -> int end |
@@ -270,23 +270,23 @@ type 'a u = A of 'a t |
270 | 270 | # - : t * [< `A | `B ] -> int = <fun> |
271 | 271 | # - : [< `A | `B ] * t -> int = <fun> |
272 | 272 | # Characters 0-41: |
273 | | -Warning: this pattern-matching is not exhaustive. |
| 273 | +Warning P: this pattern-matching is not exhaustive. |
274 | 274 | Here is an example of a value that is not matched: |
275 | 275 | (`AnyExtraTag, `AnyExtraTag) |
276 | 276 | - : [> `A | `B ] * [> `A | `B ] -> int = <fun> |
277 | 277 | # Characters 0-29: |
278 | | -Warning: this pattern-matching is not exhaustive. |
| 278 | +Warning P: this pattern-matching is not exhaustive. |
279 | 279 | Here is an example of a value that is not matched: |
280 | 280 | (_, 0) |
281 | 281 | Characters 21-24: |
282 | | -Warning: this match case is unused. |
| 282 | +Warning U: this match case is unused. |
283 | 283 | - : [ `B ] * int -> int = <fun> |
284 | 284 | # Characters 0-29: |
285 | | -Warning: this pattern-matching is not exhaustive. |
| 285 | +Warning P: this pattern-matching is not exhaustive. |
286 | 286 | Here is an example of a value that is not matched: |
287 | 287 | (0, _) |
288 | 288 | Characters 21-24: |
289 | | -Warning: this match case is unused. |
| 289 | +Warning U: this match case is unused. |
290 | 290 | - : int * [ `B ] -> int = <fun> |
291 | 291 | # Characters 69-135: |
292 | 292 | Constraints are not satisfied in this type. |
@@ -325,8 +325,8 @@ type bt = 'a ca cb as 'a |
325 | 325 | # val f : unit -> c = <fun> |
326 | 326 | # val f : unit -> c = <fun> |
327 | 327 | # Characters 11-60: |
328 | | -Warning: the following private methods were made public implicitly: |
329 | | - n |
| 328 | +Warning X: the following private methods were made public implicitly: |
| 329 | + n . |
330 | 330 | val f : unit -> < m : int; n : int > = <fun> |
331 | 331 | # Characters 11-56: |
332 | 332 | This object is expected to have type c but has actually type |
|
0 commit comments