summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/typecheck/should_fail/tcfail055.stderr
blob: c3bd5619d4fa44b0ff7512e3b1155660c41f5202 (plain)
1
2
3
4
5
6
7
 
"tcfail055.hs", line 2:
    Couldn't match type "Int" against "Float".
    In an expression with a type signature: (x (+) 1 :: Int):: Float
Fail: Compilation errors found

ghc: execution of the Haskell compiler had trouble