summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr')
-rw-r--r--testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr b/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr
new file mode 100644
index 0000000000..0241dc9739
--- /dev/null
+++ b/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr
@@ -0,0 +1,6 @@
+
+ArrowGADTKappa.hs:17:26: error:
+ • Proc patterns cannot use existential or GADT data constructors
+ • In the pattern: MkG g
+ In an arrow kappa abstraction: (MkG g) -> show -< g
+ In the command: (id -< x) `handleG` (MkG g) -> show -< g