0cfc6581fddce0f9aaa0c238f41ee6efd8c97ddd
[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 `Bool' against `B'
8         Expected: Bool
9         Inferred: B
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 `Bool' against `B'
15         Expected: Bool
16         Inferred: B
17         In an equation for function `op': op C = True
18         In the definition for method `op'
19
20
21 Compilation had errors