summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail197.stderr
blob: 30bf9583fa0d739e51abd54e95af398b87c1a565 (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