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

T18240a.hs:11:11: error: [GHC-71492]
    • Instance head cannot contain nested ‘forall’s or contexts
    • In an instance declaration

T18240a.hs:12:15: error: [GHC-76037]
    Not in scope: type variable ‘a’

T18240a.hs:14:11: error: [GHC-71492]
    • Instance head cannot contain nested ‘forall’s or contexts
    • In an instance declaration

T18240a.hs:17:11: error: [GHC-71492]
    • Instance head cannot contain nested ‘forall’s or contexts
    • In an instance declaration

T18240a.hs:18:22: error: [GHC-76037]
    Not in scope: type variable ‘a’

T18240a.hs:20:21: error: [GHC-71492]
    • Instance head cannot contain nested ‘forall’s or contexts
    • In an instance declaration

T18240a.hs:21:24: error: [GHC-76037]
    Not in scope: type variable ‘b’

T18240a.hs:23:19: error: [GHC-71492]
    • Instance head cannot contain nested ‘forall’s or contexts
    • In an instance declaration

T18240a.hs:28:10: error: [GHC-12222]
    • 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: [GHC-12222]
    • 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