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

tcfail196.hs:5:8: error:
    • Illegal polymorphic type: forall a. a
    • In the type signature: bar :: Num (forall a. a) => Int -> Int
    Suggested fix: Perhaps you intended to use ImpredicativeTypes