summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr')
-rw-r--r--testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr b/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr
new file mode 100644
index 0000000000..a3fdb4d7df
--- /dev/null
+++ b/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr
@@ -0,0 +1,10 @@
+
+LinearSequenceExpr.hs:7:3: error:
+ • Couldn't match type ‘'Many’ with ‘'One’
+ arising from multiplicity of ‘x’
+ • In an equation for ‘f’: f x y = [x .. y]
+
+LinearSequenceExpr.hs:7:5: error:
+ • Couldn't match type ‘'Many’ with ‘'One’
+ arising from multiplicity of ‘y’
+ • In an equation for ‘f’: f x y = [x .. y]