[project @ 2001-03-14 23:19:42 by simonpj]
authorsimonpj <unknown>
Wed, 14 Mar 2001 23:19:42 +0000 (23:19 +0000)
committersimonpj <unknown>
Wed, 14 Mar 2001 23:19:42 +0000 (23:19 +0000)
commitd7296ca17db960b28846969d42da325eef294a71
tree75a4789c755006a93d36c91d9fed502945fce724
parent69b253317e6845a1b4bba5d0458bfcf0e8f4638c
[project @ 2001-03-14 23:19:42 by simonpj]
-------------------------------
Fix the dreaded export list bug
-------------------------------

With unfailing regularity I manage to get the following wrong:

module A(f) where
  f = ...

module B(f) where
  import A(f)

We must ensure that if A.f changes its type (etc) then B.hi
gets changed, so that people who import B will get recompiled.

There's a large comment with RnIfaces.mkImportInfo, and some
reorganisation in Rename, with a few mainly cosmetic consequences
in RnEnv.

[Simon: I think this will fix the 'OccurAnal not recompiled' problem.]
ghc/compiler/rename/Rename.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnIfaces.lhs