summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T18240a.stderr
blob: 641bee5003f9787126712fe1b9216397c536505e (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

T18240a.hs:11:11: error:
    Instance head cannot contain nested ‘forall’s or contexts
    In an instance declaration

T18240a.hs:12:15: error: Not in scope: type variable ‘a’

T18240a.hs:14:11: error:
    Instance head cannot contain nested ‘forall’s or contexts
    In an instance declaration

T18240a.hs:17:11: error:
    Instance head cannot contain nested ‘forall’s or contexts
    In an instance declaration

T18240a.hs:18:22: error: Not in scope: type variable ‘a’

T18240a.hs:20:21: error:
    Instance head cannot contain nested ‘forall’s or contexts
    In an instance declaration

T18240a.hs:21:24: error: Not in scope: type variable ‘b’

T18240a.hs:23:19: error:
    Instance head cannot contain nested ‘forall’s or contexts
    In an instance declaration

T18240a.hs:28:10: error:
    Illegal head of an instance declaration: ‘42’
      Instance heads must be of the form
        C ty_1 ... ty_n
      where ‘C’ is a class
    In an instance declaration

T18240a.hs:29:10: error:
    Illegal head of an instance declaration: ‘Int -> Int’
      Instance heads must be of the form
        C ty_1 ... ty_n
      where ‘C’ is a class
    In an instance declaration