aboutsummaryrefslogtreecommitdiff
path: root/tests/iii/class-new-errors/case.json
blob: 982b80c8489fc7f2b81770d7b722bd1f23510ecb (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

{
  "errors": [
    {
      "reason": "NEW target must have type Other",
      "line": 20
    },
    {
      "reason": "NEW requires a class type",
      "line": 21
    },
    {
      "reason": "NEW requires a class type",
      "line": 22
    },
    {
      "reason": "has no constructor NEW",
      "line": 23
    },
    {
      "reason": "Incorrect # arguments passed to Required.NEW",
      "line": 24
    },
    {
      "reason": "Incorrect # arguments passed to Required.NEW",
      "line": 25
    },
    {
      "reason": "NEW target must have type Hidden",
      "line": 26
    },
    {
      "reason": "Cannot access private method NEW of type Hidden",
      "line": 28
    },
    {
      "reason": "has no constructor NEW",
      "line": 30
    },
    {
      "reason": "Cannot implicitly convert C_STRING to INTEGER",
      "line": 31
    }
  ]
}