summaryrefslogtreecommitdiff
path: root/testsuite/tests/parse-errors/unclosed_simple_pattern.compilers.reference
blob: 825979abf1854403cf530a60f444bee9f7f4ab8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Line 7, characters 0-2:
7 | ;;
    ^^
Error: Syntax error: ')' expected
Line 6, characters 9-10:
6 |   | List.(_
             ^
  This '(' might be unmatched
Line 4, characters 0-2:
4 | ;;
    ^^
Error: Syntax error: ')' expected
Line 3, characters 4-5:
3 |   | (_
        ^
  This '(' might be unmatched
Line 4, characters 0-2:
4 | ;;
    ^^
Error: Syntax error: ')' expected
Line 3, characters 4-5:
3 |   | (_ : int
        ^
  This '(' might be unmatched
Line 6, characters 18-25:
6 |   | (module Foo : sig end
                      ^^^^^^^
Error: invalid package type: only module type identifier and 'with type' constraints are supported
Line 7, characters 0-2:
7 | ;;
    ^^
Error: Syntax error: '}' expected
Line 6, characters 4-5:
6 |   | { foo; bar;
        ^
  This '{' might be unmatched
Line 4, characters 0-2:
4 | ;;
    ^^
Error: Syntax error: ']' expected
Line 3, characters 4-5:
3 |   | [ 1; 2;
        ^
  This '[' might be unmatched
Line 4, characters 0-2:
4 | ;;
    ^^
Error: Syntax error: '|]' expected
Line 3, characters 4-6:
3 |   | [| 3; 4;
        ^^
  This '[|' might be unmatched