summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail184.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail184.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail184.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail184.stderr b/testsuite/tests/typecheck/should_fail/tcfail184.stderr
new file mode 100644
index 0000000000..20920d822b
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail184.stderr
@@ -0,0 +1,7 @@
+
+tcfail184.hs:8:19:
+ Illegal polymorphic or qualified type:
+ forall a. Ord a => [a] -> [a]
+ Perhaps you intended to use -XRankNTypes or -XRank2Types
+ In the definition of data constructor `MkSwizzle'
+ In the newtype declaration for `Swizzle'