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

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