summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T15289.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T15289.stderr')
-rw-r--r--testsuite/tests/patsyn/should_fail/T15289.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T15289.stderr b/testsuite/tests/patsyn/should_fail/T15289.stderr
new file mode 100644
index 0000000000..952d358692
--- /dev/null
+++ b/testsuite/tests/patsyn/should_fail/T15289.stderr
@@ -0,0 +1,13 @@
+
+T15289.hs:5:16: error:
+ • Couldn't match expected type ‘Maybe’ with actual type ‘Bool’
+ • In the pattern: True
+ In the pattern: True :: Maybe
+ In the declaration for pattern synonym ‘What’
+
+T15289.hs:5:24: error:
+ • Expecting one more argument to ‘Maybe’
+ Expected a type, but ‘Maybe’ has kind ‘* -> *’
+ • In the type ‘Maybe’
+ In a pattern type signature: Maybe
+ In the pattern: True :: Maybe