[project @ 1997-09-03 23:31:30 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail023.stderr
1  
2 tcfail023.hs:2: Duplicate or overlapping instance declarations
3     for `A B' at tcfail023.hs:8 and tcfail023.hs:11
4  
5 tcfail023.hs:11: Couldn't match the type
6                      `B' against `PrelBase.Bool'
7     Expected: `B'
8     Inferred: `PrelBase.Bool'
9     In an equation for function `op': `op C = PrelBase.True'
10  
11 tcfail023.hs:8: Couldn't match the type `B' against `PrelBase.Bool'
12     Expected: `B'
13     Inferred: `PrelBase.Bool'
14     In an equation for function `op': `op C = PrelBase.True'
15  
16 tcfail023.hs:2: Module Main must include a definition for `Main.main'
17
18
19 Compilation had errors