summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail055.stderr
blob: c82e9af2aae43e2ee219bb42308d62a93260b052 (plain)
1
2
3
4
5

tcfail055.hs:3:8:
    Couldn't match expected type ‛Float’ with actual type ‛Int’
    In the expression: (x + 1 :: Int) :: Float
    In an equation for ‛f’: f x = (x + 1 :: Int) :: Float