bcc5bde8b5419b410bd49d86f4fd1d95cf171097
[ghc-hetmet.git] / ghc / 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 the predicate expression `'a''
7     In an equation for function `f': `f x = if 'a' then 1 else 2'
8
9
10 Compilation had errors