cvs commit: fptools/ghc/compiler/basicTypes RdrName.lhs
Simon Peyton Jones
simonpj at glass.cse.ogi.edu
Mon Apr 5 04:26:29 EDT 2004
simonpj 2004/04/05 03:26:29 PDT
Don't convert Exact RdrNames into Orig ones when comparing RdrNames.
This implicit conversion (via nukeExact) was making the carefully-distinct
RdrNames conjured up by Template Haskell into the same RdrName, and
that in turn was reporting duplicate bindings.
I'm not 100% certain that the implicit conversion isn't needed
for some other purpose, but it seems unclean anyway, so I'm removing
it, and we'll see if anything else breaks.
Revision Changes Path
1.32 +19 -12 fptools/ghc/compiler/basicTypes/RdrName.lhs
More information about the Cvs-ghc