[project @ 2005-04-16 22:47:23 by simonpj]
authorsimonpj <unknown>
Sat, 16 Apr 2005 22:47:25 +0000 (22:47 +0000)
committersimonpj <unknown>
Sat, 16 Apr 2005 22:47:25 +0000 (22:47 +0000)
commit9d2575d7bef0774c05b509854a54a57941ffb925
tree5b3947afcf0e57f9bbfd6a977cc31c0127cf6b8a
parentf857ebdc976f064ad5b17417d9bb0596828008af
[project @ 2005-04-16 22:47:23 by simonpj]
Significant clean-up of the handling of hi-boot files.
Previously, when compling A.hs, we loaded A.hi-boot, and
it went into the External Package Table.  It was strange
but it worked.  This tidy up stops it going anywhere;
it's just read in, and typechecked into a ModDetails.

All this was on the way to improving the handling of
instances in hs-boot files, something Chris Ryder wanted.
I think they work quite sensibly now.

If I've got all this right (have not had a chance to
fully test it) we can merge it into STABLE.
ghc/compiler/iface/IfaceEnv.lhs
ghc/compiler/iface/LoadIface.lhs
ghc/compiler/iface/TcIface.lhs
ghc/compiler/main/HscMain.lhs
ghc/compiler/rename/RnNames.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcRnDriver.lhs
ghc/compiler/typecheck/TcRnMonad.lhs
ghc/compiler/typecheck/TcSplice.lhs
ghc/compiler/typecheck/TcTyClsDecls.lhs
ghc/compiler/typecheck/TcTyDecls.lhs