035355debce42d97bd0ed991b670fad0ef648c30
[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 the type `B' against `Bool'
8     Expected: B
9     Inferred: Bool
10     In an equation for function `op': op C = True
11     In the definition for method `op'
12  
13 tcfail023.hs:11:
14     Couldn't match the type `B' against `Bool'
15     Expected: B
16     Inferred: Bool
17     In an equation for function `op': op C = True
18     In the definition for method `op'
19
20
21 Compilation had errors