patch applied (ghc): Fix test T4235 with -O

Simon Peyton Jones simonpj at microsoft.com
Fri Oct 8 06:05:57 EDT 2010


Wed Oct  6 08:52:23 PDT 2010  simonpj at microsoft.com
  * Fix test T4235 with -O
  
  The tag2Enum rule wasn't doing the right thing for
  enumerations with a phantom type parameter, like
     data T a = A | B

    M ./compiler/prelude/PrelRules.lhs -14 +10

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101006155223-1287e-01fd967ea1384bd331ebc8131660c3b1fc56b46f.gz



More information about the Cvs-ghc mailing list