a50843e3c9f4cc7227564295e6e9f28b3601d14b
[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