[project @ 1997-07-30 23:52:45 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail001.stderr
1  
2 tcfail001.hs:9:warning:
3     Duplicate class assertion `[(`A',
4                                     `a'),
5                                 (`A',
6                                     `a')]' in context:
7         [(`A',
8              `a'),
9          (`A',
10              `a')]
11  
12 tcfail001.hs:9: Couldn't match the type
13                     `PrelBase.[]' against `GHC.-> [t{-anj-}]'
14     Expected: `[a{-ani-}]'
15     Inferred: `[t{-anj-}] -> [t{-ank-}]'
16     In an equation for function `op':
17         `op PrelBase.[]
18                     =   PrelBase.[]'
19
20
21 Compilation had errors