summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail017.stderr
blob: 4f09814afa5d58e10dc5a09d6ba8ac267d883d48 (plain)
1
2
3
4
5
6
7
8
9
10

tcfail017.hs:10:10:
    Could not deduce (C [a])
      arising from the superclasses of an instance declaration
    from the context (B a)
      bound by the instance declaration at tcfail017.hs:10:10-23
    Possible fix:
      add (C [a]) to the context of the instance declaration
      or add an instance declaration for (C [a])
    In the instance declaration for `B [a]'