patch applied (ghc): Major patch to fix reporting of unused imports
Ian Lynagh
igloo at earth.li
Tue Jul 7 18:17:48 EDT 2009
Mon Jul 6 04:25:03 PDT 2009 simonpj at microsoft.com
* Major patch to fix reporting of unused imports
Ignore-this: 3b5ecdd880474493d73bdbdc0fa0b782
This patch, joint work between and Ian and Simon, fixes Trac #1074
by reporting unused import declarations much more accuratly than
before. The specification is described at
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/UnusedImports
The implementation is both easier to understand than before, and shorter
too.
Also fixed are #1148, #2267
Also fixed is -ddump-minimal imports, which now works properly, fixing
Trac #1792.
M ./compiler/hsSyn/HsImpExp.lhs -6 +7
M ./compiler/main/HscMain.lhs -6 +7
M ./compiler/rename/RnEnv.lhs -2 +24
M ./compiler/rename/RnNames.lhs -221 +175
M ./compiler/typecheck/TcRnDriver.lhs -1 +1
M ./compiler/typecheck/TcRnMonad.lhs -1 +3
M ./compiler/typecheck/TcRnTypes.lhs -1 +5
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090706112503-1287e-c315d4aac830c95f5bfa40e67ef6749d23e42bdf.gz
More information about the Cvs-ghc
mailing list