summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyCase2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyCase2.stderr')
-rw-r--r--testsuite/tests/rep-poly/RepPolyCase2.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyCase2.stderr b/testsuite/tests/rep-poly/RepPolyCase2.stderr
new file mode 100644
index 0000000000..f1f59116c9
--- /dev/null
+++ b/testsuite/tests/rep-poly/RepPolyCase2.stderr
@@ -0,0 +1,11 @@
+
+RepPolyCase2.hs:33:7: error:
+ • The scrutinee of the case statement
+ does not have a fixed runtime representation.
+ Its type is:
+ Unbox Int :: TYPE (Rep Int)
+ NB: GHC does not (yet) support rewriting in runtime representations.
+ Please comment on GHC ticket #13105 if this is causing you trouble.
+ <https://gitlab.haskell.org/ghc/ghc/-/issues/13105>
+ • In the expression: case unbox (3 :: Int) of _ -> ()
+ In an equation for ‘x’: x _ = case unbox (3 :: Int) of _ -> ()