patch applied (ghc): Refactor TcRnDriver,
and check exports on hi-boot files
Simon Peyton Jones
simonpj at microsoft.com
Fri Mar 16 09:46:15 EDT 2007
Fri Mar 16 06:38:50 PDT 2007 simonpj at microsoft.com
* Refactor TcRnDriver, and check exports on hi-boot files
This patch refactors TcRnDriver to make the top-level structure
easier to understand.
The change was driven by Trac #924, and this patch fixes that bug.
When comparing a module against its hs-boot file, we must ensure that
the module exports everything that the hs-boot file exports.
M ./compiler/iface/TcIface.lhs -2 +5
M ./compiler/rename/RnHsDoc.hs -5 +17
M ./compiler/rename/RnNames.lhs -27 +40
M ./compiler/rename/RnSource.lhs -10 +4
M ./compiler/typecheck/TcRnDriver.lhs -125 +134
M ./compiler/typecheck/TcRnMonad.lhs -6 +12
More information about the Cvs-ghc
mailing list