Fix test T4235 with -O
authorsimonpj@microsoft.com <unknown>
Wed, 6 Oct 2010 15:52:23 +0000 (15:52 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 6 Oct 2010 15:52:23 +0000 (15:52 +0000)
commitd20317a2bb263b7b69e9454ace71dd84a285ba29
tree8c5a1a24dee9e8ba60a15efac42d6d6e11ab5d24
parent310c00498677181c35c632678711a5c82f151674
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
compiler/prelude/PrelRules.lhs