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

tcfail209a.hs:4:6: error:
    • Illegal tuple constraint: (Show a, Num a)
    • In the type signature: g :: ((Show a, Num a), Eq a) => a -> a
    Suggested fix: Perhaps you intended to use ConstraintKinds