diff options
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyTuple.stderr')
-rw-r--r-- | testsuite/tests/rep-poly/RepPolyTuple.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyTuple.stderr b/testsuite/tests/rep-poly/RepPolyTuple.stderr new file mode 100644 index 0000000000..1c2c701fb2 --- /dev/null +++ b/testsuite/tests/rep-poly/RepPolyTuple.stderr @@ -0,0 +1,11 @@ + +RepPolyTuple.hs:11:9: error: + • The tuple argument in first position does not have a fixed runtime representation: + a :: TYPE r + • In the expression: (# bar (), bar (), bar () #) + In an equation for ‘foo’: + foo _ + = (# bar (), bar (), bar () #) + where + bar :: forall (r :: RuntimeRep) (a :: TYPE r). () -> a + bar _ = undefined |