| 1 |
Line 6, characters 2-14: |
| 2 |
6 | type t1 := A |
| 3 |
^^^^^^^^^^^^ |
| 4 |
Error: Only type synonyms are allowed on the right of := |
| 5 |
Line 3, characters 2-24: |
| 6 |
3 | type t2 := { x : int } |
| 7 |
^^^^^^^^^^^^^^^^^^^^^^ |
| 8 |
Error: Only type synonyms are allowed on the right of := |
| 9 |
Line 3, characters 15-18: |
| 10 |
3 | module M1 := sig end |
| 11 |
^^^ |
| 12 |
Error: Syntax error: module path expected. |
| 13 |
module F : (X : sig type t end) -> sig type t = X.t end |
| 14 |
Line 3, characters 17-23: |
| 15 |
3 | module M2 := F(struct type t = int end) |
| 16 |
^^^^^^ |
| 17 |
Error: Syntax error: module path expected. |
| 18 |
Line 2, characters 7-9: |
| 19 |
2 | type t := int;; |
| 20 |
^^ |
| 21 |
Error: Syntax error |
| 22 |
Line 2, characters 9-11: |
| 23 |
2 | module M := List;; |
| 24 |
^^ |
| 25 |
Error: Syntax error |
| 26 |
Line 4, characters 9-10: |
| 27 |
4 | and u3 = char |
| 28 |
^ |
| 29 |
Error: Syntax error |
| 30 |
Line 3, characters 7-13: |
| 31 |
3 | type nonrec t := int |
| 32 |
^^^^^^ |
| 33 |
Error: Syntax error: nonrec flag not expected. |
| 34 |
|