summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail020.stderr
blob: 3e0df9e42bb833ecca8c5824149908a06a9727db (plain)
1
2
3
4
5
6
7
8
9
10

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