
#7669: Empty case causes warning ------------------------------------------------+--------------------------- Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: fixed | Keywords: EmptyCase Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Incorrect warning at compile-time | Difficulty: Unknown Testcase: deSugar/should_compile/T7669 | Blockedby: Blocking: | Related: ------------------------------------------------+--------------------------- Comment(by monoidal): However, previously empty case always gave a warning; now it never does. {{{ f :: Bool -> a f x = case x of { } }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7669#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler