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

tcfail197.hs:5:1:
    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