Debian Codegraph @

testsuite/tests/parse-errors/mismatch_struct_sig.compilers.reference

raw
1 Line 5, characters 16-22:
2 5 | module type S = struct end
3 ^^^^^^
4 Error: Syntax error: sig expected.
5 Line 3, characters 18-24:
6 3 | module type S = struct end
7 ^^^^^^
8 Error: Syntax error: sig expected.
9 Line 3, characters 13-19:
10 3 | module M : struct end
11 ^^^^^^
12 Error: Syntax error: sig expected.
13 Line 3, characters 11-12:
14 3 | module M = struct end
15 ^
16 Error: Syntax error: : expected.
17 Line 3, characters 0-2:
18 3 | ;;
19 ^^
20 Error: Syntax error
21 Line 2, characters 11-17:
22 2 | module M : struct end
23 ^^^^^^
24 Error: Syntax error: sig expected.
25 Line 3, characters 32-38:
26 3 | module M : functor (X : S) -> struct end
27 ^^^^^^
28 Error: Syntax error: sig expected.
29 Line 2, characters 15-18:
30 2 | module M = X.Y(sig end)
31 ^^^
32 Error: Syntax error: struct expected.
33 Line 3, characters 25-28:
34 3 | include module type of sig end
35 ^^^
36 Error: Syntax error: struct expected.
37