patch applied (ghc-6.6/ghc): MERGED: The ru_local field of a
CoreRule is False for implicit Ids
Ian Lynagh
igloo at earth.li
Sun Apr 1 11:11:46 EDT 2007
Sun Apr 1 06:55:27 PDT 2007 Ian Lynagh <igloo at earth.li>
* MERGED: The ru_local field of a CoreRule is False for implicit Ids
simonpj at microsoft.com**20070330144344
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 +2
M ./compiler/deSugar/Desugar.lhs -3 +5
M ./compiler/iface/TcIface.lhs -1 +3
More information about the Cvs-ghc
mailing list