
#8494: Warn if a pattern guard obviates all others -------------------------------------------------+------------------------- Reporter: JohnWiegley | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect warning at | Unknown/Multiple compile-time | Difficulty: Test Case: | Unknown Blocking: | Blocked By: | Related Tickets: -------------------------------------------------+------------------------- Comment (by JohnWiegley): The ticket is only about the case of reduced constant expressions, although dead code in general would be interesting to know about. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8494#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler