[commit: ghc] ghc-7.8: Expected output of as-pattern test (19be8de)

git at git.haskell.org git at git.haskell.org
Thu Jul 3 22:26:04 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/19be8de834220e1420226246d8ca3e1b3dfb00a4/ghc

>---------------------------------------------------------------

commit 19be8de834220e1420226246d8ca3e1b3dfb00a4
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date:   Sat Apr 12 17:52:26 2014 +0800

    Expected output of as-pattern test
    
    (cherry picked from commit 7233638ba6e82179cc4bd1b981eff5292b18e118)


>---------------------------------------------------------------

19be8de834220e1420226246d8ca3e1b3dfb00a4
 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