summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail055.stderr
blob: f70bad6a02137b455d1f186677f0bfa65d22b16a (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