5664334f23095a221ea7a9210c7f4f67ac15389b
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail031.stderr
1
2 tcfail031.hs:3:
3     Couldn't match `Bool' against `Char'
4         Expected type: Bool
5         Inferred type: Char
6     In the predicate expression: 'a'
7     in the definition of function `f': if 'a' then 1 else 2