[project @ 2002-03-28 17:52:08 by simonmar]
authorsimonmar <unknown>
Thu, 28 Mar 2002 17:52:08 +0000 (17:52 +0000)
committersimonmar <unknown>
Thu, 28 Mar 2002 17:52:08 +0000 (17:52 +0000)
commiteb2a3ce7eae091dedfcb790845c5cac5ccd32033
treec9bd968517b59c7529e17c472483cc4966fb260e
parent6433e4f62f2124744ce2276c77a2c243f014d717
[project @ 2002-03-28 17:52:08 by simonmar]
In lookupTopBndrRn, if we're in an interface file, then create the
binder in the cache with the correct Module (inc. package name) rather
than making a vanilla module as we do currently.

This helps to get the package names right in names from interfaces
that we've read via checkOldIface (ie. "skipped" modules), and fixes a
bug to do with unnecessary version bumping and recompilation.

(Simon P.J. will add a better comment later)

MERGE TO STABLE
ghc/compiler/rename/RnEnv.lhs