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