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

tcfail197.hs:5:8: error:
    • Illegal polymorphic type: forall a. a
    • In the type signature: foo :: [forall a. a] -> Int
    Suggested fix: Perhaps you intended to use ImpredicativeTypes