diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr')
-rw-r--r-- | testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr new file mode 100644 index 0000000000..861ef5c869 --- /dev/null +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr @@ -0,0 +1,10 @@ + +SimpleFail5a.hs:31:11: + Couldn't match type `a' with `Int' + `a' is a rigid type variable bound by + the type signature for bar3wrong :: S3 a -> a + at SimpleFail5a.hs:31:1 + Expected type: S3 a + Actual type: S3 Int + In the pattern: D3Int + In an equation for `bar3wrong': bar3wrong D3Int = 1 |