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

tcfail127.hs:3:1:
    Illegal polymorphic or qualified type: Num a => a -> a
    Perhaps you intended to use -XImpredicativeTypes
    In the type signature for `foo': foo :: IO (Num a => a -> a)