Thu Oct 7 02:41:00 PDT 2010 [email protected]
* Make the occurrence analyser deal correctly with RULES for imported Ids
This patch fixes a long-standing lurking bug, but it surfaced when I
was adding specialisation for imported Ids.
See Note [ImpRuleUsage], which explains the issue. The solution
seems more complicated than the problem really deserves, but I
could not think of a simpler way, so I just bit the bullet and
wrote the code. Improvements welcome.
M ./compiler/simplCore/OccurAnal.lhs -57 +147
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101007094100-1287e-c332b02b5bf9fae1af0dfc999dee295599596155.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc