[project @ 2005-11-02 09:57:45 by simonpj]
authorsimonpj <unknown>
Wed, 2 Nov 2005 09:57:45 +0000 (09:57 +0000)
committersimonpj <unknown>
Wed, 2 Nov 2005 09:57:45 +0000 (09:57 +0000)
commitf7e8044f26652537e9b87c4481a45cdfb1bafb8a
tree9ed6c822b67294e1d63c6502653dfaaaa18bf3c6
parentca49225cd41123ab6ce229040a93cc4b993b190a
[project @ 2005-11-02 09:57:45 by simonpj]
Correct the TH fix of Oct 26, involving thFAKE
MERGE TO STABLE

Original message
  1) A bug in the renaming of [d| brackets |]. The problem was
  that when we renamed the bracket we messed up the name cache, because
  the module was still that of the parent module. Now we set a fake
  module before renaming it.

But we have to tell the *typechecker* too, not just the renamer.
See comments with TcSplice.tc_bracket (DecBr case).

Should fix TH failures in the STABLE branch
ghc/compiler/typecheck/TcRnMonad.lhs
ghc/compiler/typecheck/TcSplice.lhs