[project @ 2004-04-05 10:26:28 by simonpj]
authorsimonpj <unknown>
Mon, 5 Apr 2004 10:26:28 +0000 (10:26 +0000)
committersimonpj <unknown>
Mon, 5 Apr 2004 10:26:28 +0000 (10:26 +0000)
commit0f098b75c81e884a445654b2fe097ee247436ee1
tree950aa58c29b5e202e98e0049ca688d929edbad7f
parent8a40130c7ab9c175c707e55060ec8d441851e82a
[project @ 2004-04-05 10:26:28 by simonpj]
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.
ghc/compiler/basicTypes/RdrName.lhs