Thu Dec 20 05:19:12 PST 2007 [EMAIL PROTECTED]
* Fix Trac #1988; keep the ru_fn field of a RULE up to date
The ru_fn field was wrong when we moved RULES from one Id to another.
The fix is simple enough.
However, looking at this makes me realise that the worker/wrapper stuff
for recursive newtypes isn't very clever: we generate demand info but
then don't properly exploit it.
This patch fixes the crash though.
M ./compiler/basicTypes/IdInfo.lhs -4 +12
M ./compiler/simplCore/SimplCore.lhs -3 +6
M ./compiler/simplCore/Simplify.lhs -1 +1
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc