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

tcfail127.hs:3:8: error:
    • Illegal qualified type: Num a => a -> a
      Perhaps you intended to use ImpredicativeTypes
    • In the type signature: foo :: IO (Num a => a -> a)