[commit: ghc] master: Expected output of as-pattern test (7233638)
git at git.haskell.org
git at git.haskell.org
Sat Apr 12 09:52:38 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7233638ba6e82179cc4bd1b981eff5292b18e118/ghc
>---------------------------------------------------------------
commit 7233638ba6e82179cc4bd1b981eff5292b18e118
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Sat Apr 12 17:52:26 2014 +0800
Expected output of as-pattern test
>---------------------------------------------------------------
7233638ba6e82179cc4bd1b981eff5292b18e118
testsuite/tests/patsyn/should_fail/as-pattern.stderr | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/testsuite/tests/patsyn/should_fail/as-pattern.stderr b/testsuite/tests/patsyn/should_fail/as-pattern.stderr
new file mode 100644
index 0000000..62db28f
--- /dev/null
+++ b/testsuite/tests/patsyn/should_fail/as-pattern.stderr
@@ -0,0 +1,4 @@
+
+as-pattern.hs:4:18:
+ Pattern synonym definition cannot contain as-patterns (@):
+ x@(Just y)
More information about the ghc-commits
mailing list