Remove GHC.extendGlobalRdrScope, GHC.extendGlobalTypeScope
authorsimonpj@microsoft.com <unknown>
Wed, 13 Oct 2010 09:11:07 +0000 (09:11 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 13 Oct 2010 09:11:07 +0000 (09:11 +0000)
commit762c24327f4a2f874fb8a4b2d6717d36aa6c5e02
tree85871e0b0423b3d08c601a14dcf5076b6d09cee3
parent0edeaa123bbcbcb7c6adad79ba5e888fc4214943
Remove GHC.extendGlobalRdrScope, GHC.extendGlobalTypeScope

These functions were added by

   Tue Apr 18 03:36:06 BST 2006  Lemmih <lemmih@gmail.com>
   * Make the initial rdr and type scope available in the ghc-api

The are extremely dubious, because they extend the Rdr and Type
env for every compilation.  The right thing to do is to use
the InteractiveContext for temporary extensions.

So far as we know, no one uses them.  And if they are being used
it's probably a mistake.  So we're backing them out.
compiler/main/GHC.hs
compiler/main/HscMain.lhs
compiler/main/HscTypes.lhs
compiler/typecheck/TcRnMonad.lhs