projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
99949092038698e89b975ef96aefdab64788884f
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail031.stderr
1
2
tcfail031.hs:3:
3
Couldn't match the type `Bool' against `Char'
4
Expected: Bool
5
Inferred: 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