Fix Trac #1988; keep the ru_fn field of a RULE up to date
authorsimonpj@microsoft.com <unknown>
Thu, 20 Dec 2007 13:19:12 +0000 (13:19 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 20 Dec 2007 13:19:12 +0000 (13:19 +0000)
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.


No differences found