diff options
Diffstat (limited to 'testsuite/tests/linear/should_fail/LinearVar.stderr')
-rw-r--r-- | testsuite/tests/linear/should_fail/LinearVar.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_fail/LinearVar.stderr b/testsuite/tests/linear/should_fail/LinearVar.stderr new file mode 100644 index 0000000000..04014ce79b --- /dev/null +++ b/testsuite/tests/linear/should_fail/LinearVar.stderr @@ -0,0 +1,13 @@ + +LinearVar.hs:5:5: error: + • Couldn't match type ‘m’ with ‘'Many’ + ‘m’ is a rigid type variable bound by + the type signature for: + f :: forall a b. a -> b + at LinearVar.hs:4:1-16 + Expected type: a # m -> b + Actual type: a -> b + • In the expression: undefined :: a -> b + In an equation for ‘f’: f = undefined :: a -> b + • Relevant bindings include + f :: a # m -> b (bound at LinearVar.hs:5:1) |