patch applied (ghc): The ru_local field of a CoreRule is False for
implicit Ids
Simon Peyton Jones
simonpj at microsoft.com
Fri Mar 30 10:46:58 EDT 2007
Fri Mar 30 07:43:44 PDT 2007 simonpj at microsoft.com
* The ru_local field of a CoreRule is False for implicit Ids
MERGE to 6.6.1
For class-ops, record selectors, data constructors, we want the ru_local
field of the Rule to be False. We do not attach the rule to the binding
for the Id, because there simply isn't a binding until the code gen stage.
(NB: the ru_local field is different to the orphan-hood of the rule.)
This fixes a bug that meant that RULES on class ops were never exported.
M ./compiler/coreSyn/CoreSyn.lhs +4
M ./compiler/deSugar/Desugar.lhs -3 +4
M ./compiler/iface/TcIface.lhs -2 +3
More information about the Cvs-ghc
mailing list