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