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

tcfail223.hs:10:10: error:
    • Could not deduce ‘Class1 a’
        arising from the superclasses of an instance declaration
      from the context: Class3 a
        bound by the instance declaration at tcfail223.hs:10:10-29
      Possible fix:
        add (Class1 a) to the context of the instance declaration
    • In the instance declaration for ‘Class2 a’