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

tcfail197.hs:5:8:
    Illegal polymorphic or qualified type: forall a. a
    Perhaps you intended to use -XImpredicativeTypes
    In the type signature for `foo': foo :: [forall a. a] -> Int