
#7669: Empty case causes warning ------------------------------------------------+--------------------------- Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: EmptyCase Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Difficulty: Unknown Testcase: deSugar/should_compile/T7669 | Blockedby: Blocking: | Related: ------------------------------------------------+--------------------------- Changes (by simonpj): * status: closed => new * resolution: fixed => Comment: Very true. Would anyone like to look at the overlapping-pattern warnings? It's a well-defined problem, restricted to a single module in GHC (`deSugar/Check.lhs`). We have a bunch of tickets about it: at least #595, #5728, #3927, #5724, #5762, #4139, #6124. A lovely project awaits! Meanwhile I think I'll leave the code in its simplified state. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7669#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler