| 1 |
File "w01.ml", line 14, characters 12-14: |
| 2 |
14 | let foo = ( *);; |
| 3 |
^^ |
| 4 |
Warning 2 [comment-not-end]: this is not the end of a comment. |
| 5 |
|
| 6 |
File "w01.ml", line 20, characters 0-3: |
| 7 |
20 | f 1; f 1;; |
| 8 |
^^^ |
| 9 |
Warning 5 [ignored-partial-application]: this function application is partial, |
| 10 |
maybe some arguments are missing. |
| 11 |
|
| 12 |
File "w01.ml", line 30, characters 4-5: |
| 13 |
30 | let 1 = 1;; |
| 14 |
^ |
| 15 |
Warning 8 [partial-match]: this pattern-matching is not exhaustive. |
| 16 |
Here is an example of a case that is not matched: 0 |
| 17 |
|
| 18 |
File "w01.ml", line 35, characters 0-1: |
| 19 |
35 | 1; 1;; |
| 20 |
^ |
| 21 |
Warning 10 [non-unit-statement]: this expression should have type unit. |
| 22 |
|
| 23 |
File "w01.ml", line 42, characters 2-3: |
| 24 |
42 | | 1 -> () |
| 25 |
^ |
| 26 |
Warning 11 [redundant-case]: this match case is unused. |
| 27 |
|
| 28 |
File "w01.ml", line 19, characters 8-9: |
| 29 |
19 | let f x y = x;; |
| 30 |
^ |
| 31 |
Warning 27 [unused-var-strict]: unused variable y. |