Tue Mar 9 09:31:00 PST 2010 [email protected]
* Rule binders shouldn't have DFun pragmas
When DsBinds deals with a SPECIALISE pragma, it makes up the binders
for a RULE. These binders should be very vanilla: no IdInfo of any sort.
But the way it was before they could have DFun pragmas, which led to
Bad Joss downstream. (Actually to cause a downstream *error* was itself
a bug, which I've fixed, but it's clearly wrong for them to be DFuns!)
M ./compiler/deSugar/DsBinds.lhs -5 +7
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20100309173100-1287e-8c463a11e00f7966ea937c84cc3b0e8f2fcd558d.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc