Strange.   You fix definitely isn't the Right Thing, but there's clearly
something wrong going on.

Can you give more details please?  I.e. give source code and
what commands you executed to show up the bug?

Thanks

Simon

| -----Original Message-----
| From: Kirsten Chevalier [mailto:[EMAIL PROTECTED]] 
| Sent: 24 May 2002 09:09
| To: [EMAIL PROTECTED]
| Subject: Bug in CorePrep.lhs
| 
| 
| Using more or less the latest version of GHC from CVS, I was 
| getting error messages from the assembler that complained 
| about duplicate definitions of closures for various data 
| constructors. I changed lines 109-113 of 
| coreSyn/CorePrep.lhs as follows:
| 
|    binds_out = initUs_ us (
|                         corePrepTopBinds (md_binds 
| mod_details)  `thenUs` \ floats1 -> {-
|                         corePrepTopBinds implicit_binds       
| `thenUs` \ floats2 -> -}
|                         returnUs (deFloatTop (floats1 {- 
| `appOL` floats2 -}))
|                       )
| 
| and that seems to fix it. I don't know whether this breaks 
| anything else, but there's definitely a bug.
| 
| -- 
| Kirsten Chevalier * [EMAIL PROTECTED] * Often in error, 
| never in doubt _______________________________________________
| Glasgow-haskell-bugs mailing list 
| [EMAIL PROTECTED] 
| http://www.haskell.org/mailman/listinfo/glasgow-| haskell-bugs
| 
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to