cvs commit: fptools/ghc/compiler/basicTypes RdrName.lhs fptools/ghc/compiler/rename
RnEnv.lhs RnNames.lhs
Simon Peyton Jones
simonpj@glass.cse.ogi.edu
Thu, 12 Jul 2001 07:51:28 -0700
simonpj 2001/07/12 07:51:28 PDT
Modified files:
ghc/compiler/basicTypes RdrName.lhs
ghc/compiler/rename RnEnv.lhs RnNames.lhs
Log:
Fix the module import story to match what the Revised
Haskell Report says
1. Don't import qualified names of things that aren't imported
2. Fix a bug that meant
import A hiding( D )
where D is a data constructor, didn't work.
[The fix is to use IEVar not IEThingAbs in the
want_hiding case of get_item in RnNames.filterImports
Revision Changes Path
1.17 +7 -4 fptools/ghc/compiler/basicTypes/RdrName.lhs
1.122 +35 -24 fptools/ghc/compiler/rename/RnEnv.lhs
1.122 +8 -8 fptools/ghc/compiler/rename/RnNames.lhs