[project @ 2002-01-25 16:46:53 by simonmar]
authorsimonmar <unknown>
Fri, 25 Jan 2002 16:46:54 +0000 (16:46 +0000)
committersimonmar <unknown>
Fri, 25 Jan 2002 16:46:54 +0000 (16:46 +0000)
commitcfe26441dd18aafe89ff02de75ed899053a58538
treed8836b6f838ac328cece22d309b0cd001116bc69
parent7506b61eb225c4e4a0f7d0cd46eb9a4d38028475
[project @ 2002-01-25 16:46:53 by simonmar]
In GHCi, if we are currently using a compiled version of a module and
the user compiles a new version of the module, allow the new version
to be linked in during a :reload.  (as suggested by Koen Claessen).

We can't go all the way and allow a newly compiled module to replace
an existing interpreted version, because the version numbers in the
interface file will be out-of-sync with our internal copy of the
interface.  To link in a newly compiled version of an interpreted
module, you still have to do :load.
ghc/compiler/compMan/CmTypes.lhs
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/ghci/ByteCodeLink.lhs
ghc/compiler/main/DriverPipeline.hs