Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-7.2
http://hackage.haskell.org/trac/ghc/changeset/7db4107b201e4049b81e4c326a9a91c1ff4ef3f3 >--------------------------------------------------------------- commit 7db4107b201e4049b81e4c326a9a91c1ff4ef3f3 Author: Ian Lynagh <[email protected]> Date: Thu Jul 14 19:59:13 2011 +0100 Separate the warning flags into their own datatype The -w flag wasn't turning off a few warnings (Opt_WarnMissingImportList, Opt_WarnMissingLocalSigs, Opt_WarnIdentities). Rather than just adding them, I've separated the Opt_Warn* contructors off into their own type, so -w now just sets the list of warning flags to []. compiler/deSugar/Desugar.lhs | 2 +- compiler/deSugar/DsExpr.lhs | 6 +- compiler/deSugar/DsMonad.lhs | 7 +- compiler/deSugar/Match.lhs | 14 ++-- compiler/iface/MkIface.lhs | 4 +- compiler/main/DynFlags.hs | 150 +++++++++++++++++++++---------------- compiler/main/HscTypes.lhs | 5 +- compiler/main/InteractiveEval.hs | 2 +- compiler/parser/Lexer.x | 8 +- compiler/rename/RnEnv.lhs | 8 +- compiler/rename/RnNames.lhs | 22 +++--- compiler/rename/RnTypes.lhs | 2 +- compiler/typecheck/TcBinds.lhs | 2 +- compiler/typecheck/TcErrors.lhs | 2 +- compiler/typecheck/TcExpr.lhs | 2 +- compiler/typecheck/TcForeign.lhs | 2 +- compiler/typecheck/TcHsSyn.lhs | 6 +- compiler/typecheck/TcInstDcls.lhs | 4 +- compiler/typecheck/TcRnMonad.lhs | 11 +++ 19 files changed, 145 insertions(+), 114 deletions(-) Diff suppressed because of size. To see it, use: git show 7db4107b201e4049b81e4c326a9a91c1ff4ef3f3 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
