[project @ 1998-11-16 18:14:44 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail023.stderr
1  
2 tcfail023.hs:1:
3     Duplicate or overlapping instance declarations
4         for `A B' at tcfail023.hs:14 and tcfail023.hs:11
5  
6 tcfail023.hs:14:
7     Couldn't match `B' against `Bool'
8         Expected type: B
9         Inferred type: Bool
10     In the right-hand side of an equation for `op': True
11  
12 tcfail023.hs:11:
13     Couldn't match `B' against `Bool'
14         Expected type: B
15         Inferred type: Bool
16     In the right-hand side of an equation for `op': True
17
18
19 Compilation had errors