[project @ 2000-11-20 14:48:52 by simonpj]
authorsimonpj <unknown>
Mon, 20 Nov 2000 14:48:59 +0000 (14:48 +0000)
committersimonpj <unknown>
Mon, 20 Nov 2000 14:48:59 +0000 (14:48 +0000)
commitc271b64780a6504e7ccd4cc422dfc90678ea966f
treee75f7b6abaa149d0fb1ce80e0bbb891ea355f806
parent9a094a5c6dd79e33224aa7eff496d7b9aa180c39
[project @ 2000-11-20 14:48:52 by simonpj]
When renaming, typechecking an expression from the user
interface, we may suck in declarations from interface
files (e.g. the Prelude).  This commit takes account of that.

To do so, I did some significant restructuring in TcModule,
with consequential changes and tidy ups elsewhere in the type
checker.  I think there should be fewer lines in total than before.
24 files changed:
ghc/compiler/compMan/CmLink.lhs
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/coreSyn/CoreFVs.lhs
ghc/compiler/coreSyn/CoreUtils.lhs
ghc/compiler/coreSyn/PprCore.lhs
ghc/compiler/hsSyn/HsDecls.lhs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/HscTypes.lhs
ghc/compiler/main/Interpreter.hs
ghc/compiler/prelude/PrelInfo.lhs
ghc/compiler/prelude/TysWiredIn.lhs
ghc/compiler/rename/Rename.lhs
ghc/compiler/typecheck/TcClassDcl.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcHsSyn.lhs
ghc/compiler/typecheck/TcIfaceSig.lhs
ghc/compiler/typecheck/TcInstDcls.lhs
ghc/compiler/typecheck/TcModule.lhs
ghc/compiler/typecheck/TcRules.lhs
ghc/compiler/typecheck/TcTyClsDecls.lhs
ghc/compiler/typecheck/TcTyDecls.lhs
ghc/compiler/types/TyCon.lhs
ghc/compiler/types/TypeRep.lhs
ghc/compiler/utils/StringBuffer.lhs