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

tcfail127.hs:3:8: error:
    • Illegal qualified type: Num a => a -> a
      GHC doesn't yet support impredicative polymorphism
    • In the type signature:
        foo :: IO (Num a => a -> a)