summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail169.stderr
blob: 1e0262d414e22855545e18b6c19a0cdca4c1d880 (plain)
1
2
3
4
5
6
7
8

tcfail169.hs:7:51:
    No instance for (Show (Succ a))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      use a standalone 'deriving instance' declaration,
        so you can specify the instance context yourself
    When deriving the instance for (Show (Seq a))