[project @ 2001-03-19 16:22:00 by simonmar]
authorsimonmar <unknown>
Mon, 19 Mar 2001 16:22:01 +0000 (16:22 +0000)
committersimonmar <unknown>
Mon, 19 Mar 2001 16:22:01 +0000 (16:22 +0000)
commitdd4bc7edc9c6bdb3fd295eb5bad3df4772aa58e2
tree9110c4b4d611160d0e12c46d0ff98f717dba0e49
parent4fb9c8aa14742cf98c1c0f2be1f98841fad145b8
[project @ 2001-03-19 16:22:00 by simonmar]
Fix a problem with the 'it' variable in GHCi.  New bindings for 'it'
were getting confused with old bindings, because we always used the
same 'it' name.

Now, we generate a new unique for 'it' each time around.

Also, make sure that any existing variables shadowed by new
command-line bindings are correctly removed from the environments to
avoid space leaks.
ghc/compiler/basicTypes/NameEnv.lhs
ghc/compiler/compMan/CmLink.lhs
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/typecheck/TcModule.lhs