
#10746: No non-exhaustive pattern match warning given for empty case analysis -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: | PatternMatchWarnings Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: #7669, #11806 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): Looks like the confusion was due to the lack of a proper specification of the `EmptyCase` extension, in particular about the operational semantics of it. Maybe someone feels like extending https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/syntax- extns.html#empty-case with a sentence or two on that? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10746#comment:18 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler