Currently break018 is failing, with a diff like this:

-_result :: IO (N a) = _
-Stopped at ../mdo.hs:(29,15)-(31,26)
-_result :: IO (N Char) = _
-x :: Char = 'h'
-xs :: [Char] = _
+_result :: (# GHC.Prim.State# GHC.Prim.RealWorld, N a #) = _

It seems that something in the debugger is "looking through" the IO newtype, 
when perhaps it shouldn't.

But I don't, know
a) where this code is
b) what the expected behaviour is

Can someone (Pepe?) take a look?

Thanks

Simon

| -----Original Message-----
| From: Ian Lynagh [mailto:[email protected]]
| Sent: 07 April 2009 18:54
| To: Simon Peyton-Jones
| Subject: Re: break018
|
| On Tue, Apr 07, 2009 at 05:12:59PM +0100, Simon Peyton-Jones wrote:
| >
| > I often see this sort of breakage in break018 and friends (currently on my 
version
| of HEAD).  Do you know anything about them? I tend to ignore.
|
| I tend to ignore them too, as a couple of them seem to fail randomly.
| This one looks like the output has actually permanently changed.
|
| Looking at the diff, it looks like it is now seeing through the IO
| newtype. I'll try to look through the recent changes and see if anything
| jumps out as the cause.
|
|
| Thanks
| Ian
|

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to