diff options
Diffstat (limited to 'testsuite/tests/arrows/should_fail/arrowfail001.stderr')
-rw-r--r-- | testsuite/tests/arrows/should_fail/arrowfail001.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/arrows/should_fail/arrowfail001.stderr b/testsuite/tests/arrows/should_fail/arrowfail001.stderr new file mode 100644 index 0000000000..91ec965715 --- /dev/null +++ b/testsuite/tests/arrows/should_fail/arrowfail001.stderr @@ -0,0 +1,9 @@ + +arrowfail001.hs:16:36: + Ambiguous type variable `a' in the constraint: + (Foo a) arising from a use of `foo' + Probable fix: add a type signature that fixes these type variable(s) + In the expression: foo + In the expression: proc x -> case x of { Bar a -> foo -< a } + In an equation for `get': + get = proc x -> case x of { Bar a -> foo -< a } |