summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyMagic.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyMagic.stderr')
-rw-r--r--testsuite/tests/rep-poly/RepPolyMagic.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyMagic.stderr b/testsuite/tests/rep-poly/RepPolyMagic.stderr
new file mode 100644
index 0000000000..3c83b2c3ec
--- /dev/null
+++ b/testsuite/tests/rep-poly/RepPolyMagic.stderr
@@ -0,0 +1,16 @@
+
+RepPolyMagic.hs:12:7: error:
+ • Unsaturated use of a representation-polymorphic primitive function.
+ The second argument of ‘seq’
+ does not have a fixed runtime representation:
+ b :: TYPE r
+ • In the expression: seq
+ In an equation for ‘foo’: foo = seq
+
+RepPolyMagic.hs:15:7: error:
+ • Unsaturated use of a representation-polymorphic primitive function.
+ The second argument of ‘oneShot’
+ does not have a fixed runtime representation:
+ a :: TYPE r
+ • In the expression: oneShot
+ In an equation for ‘bar’: bar = oneShot