summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail223.stderr
blob: e4a4fcda547a8e5ac4d2d87b9ac008bb475ce9c7 (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’