
#11316: Too many guards warning causes issues -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: Type: bug | Status: new Priority: high | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by NeilMitchell): Understood about coverage and exhaustiveness, that makes sense. As long as in default mode the warning doesn't pop up, I'm happy. However, there are some people that always run with {{{-Wall}}}, and if that also turns on {{{-Wtoo-many-guards}}} then these people are going to be left with the nasty set of choices above. In general, introducing warnings that cannot be suppressed by refactorings that improve the code is something I dislike. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11316#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler