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