Defined but not used in TcPatSyn

Joachim Breitner mail at joachim-breitner.de
Sat Apr 12 09:50:36 UTC 2014


Hi,

Am Samstag, den 12.04.2014, 16:36 +0800 schrieb Dr. ERDI Gergo:
> On Sat, 12 Apr 2014, Joachim Breitner wrote:
> 
> > quite likely; Gergo has fixed this now.
> >
> > It now fails with
> >
> > =====> as-pattern(normal) 3652 of 3950 [0, 0, 0]
> > Actual stderr output differs from expected:
> > --- /dev/null	2014-04-12 01:15:42.517232560 +0000
> > +++ ./patsyn/should_fail/as-pattern.comp.stderr	2014-04-12 01:45:41.904702080 +0000
> > @@ -0,0 +1 @@
> > +<command line>: does not exist: as-pattern.hs
> > *** unexpected failure for as-pattern(normal)
> >
> > Gergo, did you forget to add a file to git?
> 
> Yes. Aargh. Fixed now.

better. Not it seems that as-pattern.stderr is missing:

Actual stderr output differs from expected:
--- /dev/null	2014-04-12 08:45:45.769562505 +0000
+++ ./patsyn/should_fail/as-pattern.comp.stderr	2014-04-12 09:17:26.788082628 +0000
@@ -0,0 +1,4 @@
+
+as-pattern.hs:4:18:
+    Pattern synonym definition cannot contain as-patterns (@):
+      x@(Just y)
*** unexpected failure for as-pattern(normal)

Greetings,
Joachim

-- 
Joachim Breitner
  e-Mail: mail at joachim-breitner.de
  Homepage: http://www.joachim-breitner.de
  Jabber-ID: nomeata at joachim-breitner.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140412/37afecc2/attachment.sig>


More information about the ghc-devs mailing list