diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail017.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail017.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail017.stderr b/testsuite/tests/typecheck/should_fail/tcfail017.stderr new file mode 100644 index 0000000000..4f09814afa --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail017.stderr @@ -0,0 +1,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]' |