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

tcfail209a.hs:3:6:
    Illegal tuple constraint: (Show a, Num a)
      (Use ConstraintKinds to permit this)
    In the type signature for ā€˜gā€™:
      g :: ((Show a, Num a), Eq a) => a -> a