786d1cc7fc821dfcad04dafcf478987426484769
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail031.stderr
1  
2 tcfail031.hs:3: Couldn't match the type `Char' against `Bool'
3     Expected: `Char'
4     Inferred: `Bool'
5     In the predicate expression `'a''
6     In an equation for function `f': `f x = if 'a' then 1 else 2'
7
8 Compilation had errors