[project @ 2001-06-27 16:38:17 by simonmar]
authorsimonmar <unknown>
Wed, 27 Jun 2001 16:38:17 +0000 (16:38 +0000)
committersimonmar <unknown>
Wed, 27 Jun 2001 16:38:17 +0000 (16:38 +0000)
commit47108330f6f832dd82aba3d125a1ad114f4a45e7
treefb4eb060052ff4d21dfd98a7eab9ec3f0431c793
parent7d4e5c1a5010838489f29d663618d0b74ec0cb1d
[project @ 2001-06-27 16:38:17 by simonmar]
When we're in --interactive or --make mode, we don't even *look* for
interface files in the home package.

This means that cd'ing into fptools/ghc/lib/std and starting up GHCi
Just Works, which is a good thing.  It also subsumes the previous hack
about checking whether we're renaming a command-line expression before
allowing a home interface to be loaded.

The downside is that if you try to use a qualified name for a home
module that's not loaded, you'll get a slightly less informative error
message: "interface file not found" rather than "module not loaded",
but this could be improved.
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/DriverState.hs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnHiFiles.lhs