Thu Jan 27 05:13:04 PST 2011 [email protected]
* Refine incomplete-pattern checks (Trac #4905)
The changes are:
* New flag -fwarn-incomplete-uni-patterns, which checks for
incomplete patterns in (a) lambdas, (b) pattern bindings
* New flag is not implied by -W or -Wall (too noisy; and many
libraries use incomplete pattern bindings)
* Actually do the incomplete-pattern check for pattern bindings
(previously simply omitted)
* Documentation for new flag
M ./compiler/deSugar/DsGRHSs.lhs -3 +3
M ./compiler/deSugar/Match.lhs -32 +38
M ./compiler/hsSyn/HsExpr.lhs -3 +6
M ./compiler/main/DynFlags.hs -6 +10
M ./docs/users_guide/flags.xml +7
M ./docs/users_guide/using.xml -10 +25
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110127131304-1287e-1d09de6cc927be891ca3c3b39f09e80174fb6567.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc