[project @ 2003-01-09 16:15:51 by simonpj]
authorsimonpj <unknown>
Thu, 9 Jan 2003 16:15:52 +0000 (16:15 +0000)
committersimonpj <unknown>
Thu, 9 Jan 2003 16:15:52 +0000 (16:15 +0000)
commitba58028475f0607b880ea3cad9cb646f90011092
treea49bba895a11592fb24420425c90c7cabc419d51
parent115843f29d16a6d212fc1f1b80a7c60c9e7ea587
[project @ 2003-01-09 16:15:51 by simonpj]
--------------------------
Fix export-calculation bug
--------------------------

Ross points out that in
  module M where
  import List as M
  sort = "foo"

there is no conflict in the export list. GHC used to treat this
like

module M( module M ) where ...

which is wrong, wrong, wrong.

Now fixed.   Test in modules/mod200.hs

Some other small tidying up (notably in GRE.gre_parent).
ghc/compiler/main/HscTypes.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnNames.lhs