From: simonpj@microsoft.com Date: Thu, 20 Dec 2007 13:19:12 +0000 (+0000) Subject: Fix Trac #1988; keep the ru_fn field of a RULE up to date X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ca919ae01e81fb4afb2243bb34eceff56ca66043;hp=ca919ae01e81fb4afb2243bb34eceff56ca66043;p=ghc-hetmet.git 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. ---