[project @ 1997-05-26 05:42:53 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail031.stderr
1  
2 tcfail031.hs:3: Couldn't match the type
3                     `PrelBase.Bool' against `PrelBase.Char'
4     Expected: `PrelBase.Bool'
5     Inferred: `PrelBase.Char'
6     In a predicate expression:
7         `'a''
8     In an equation for function `f':
9         `f x       =   if 'a' then 1 else 2'
10
11
12 Compilation had errors