[project @ 2001-11-26 10:26:59 by simonpj]
authorsimonpj <unknown>
Mon, 26 Nov 2001 10:26:59 +0000 (10:26 +0000)
committersimonpj <unknown>
Mon, 26 Nov 2001 10:26:59 +0000 (10:26 +0000)
commit1fdd97b64fe35dfcf7c6c9dc2ae11214ff651d06
tree088a2c75d18bee66412015d9e7aedf21d6520bfb
parent0760818ed7cd939ca14639e1aebfc67bd934f220
[project @ 2001-11-26 10:26:59 by simonpj]
--------------------------------------
Finally get rid of tcAddImportedIdInfo
--------------------------------------

TcEnv.tcAddImportedIdInfo is a notorious source of space leaks.
Simon M got rid of the need for it on default methods.
This commit gets rid of the need for it for dictionary function Ids,
and finally nukes the beast altogether. Hurrah!

The change really involves putting tcInterfaceSigs *before*
tcInstDecls1, so that any imported DFunIds are in the typechecker's
environment before we get to tcInstDecls.
ghc/compiler/hsSyn/HsDecls.lhs
ghc/compiler/typecheck/TcInstDcls.lhs
ghc/compiler/typecheck/TcModule.lhs