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

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