
24 Feb
2007
24 Feb
'07
4:24 p.m.
Hi
So: Compiled with type=release (and therefore ghc-6.6 -O), yhc fails. And compiled without type=release (and therefore ghc-6.6 without -O) yhc works.
I can now replicate these results exactly. I therefore declare this to be a GHC bug, and will raise the issue on the GHC mailing list. The assert does indeed stop the bug happening, and I've added a call to error in Errors.hs if this situation is detected. Thanks for all your efforts in tracking this down! Neil