diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail065.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail065.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail065.stderr b/testsuite/tests/typecheck/should_fail/tcfail065.stderr new file mode 100644 index 0000000000..9d94b920ff --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail065.stderr @@ -0,0 +1,11 @@ + +tcfail065.hs:29:20: + Couldn't match type `x1' with `x' + `x1' is a rigid type variable bound by + the type signature for setX :: x1 -> X x -> X x + at tcfail065.hs:29:3 + `x' is a rigid type variable bound by + the instance declaration at tcfail065.hs:28:18 + In the first argument of `X', namely `x' + In the expression: X x + In an equation for `setX': setX x (X _) = X x |