summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyRightSection.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyRightSection.stderr')
-rw-r--r--testsuite/tests/rep-poly/RepPolyRightSection.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyRightSection.stderr b/testsuite/tests/rep-poly/RepPolyRightSection.stderr
new file mode 100644
index 0000000000..3209cdfff6
--- /dev/null
+++ b/testsuite/tests/rep-poly/RepPolyRightSection.stderr
@@ -0,0 +1,8 @@
+
+RepPolyRightSection.hs:14:11: error:
+ • Unsaturated use of a representation-polymorphic primitive function.
+ The third argument of ‘rightSection’
+ does not have a fixed runtime representation:
+ a :: TYPE r
+ • In the expression: `g` undefined
+ In an equation for ‘test2’: test2 = (`g` undefined)