
Why do you need `vanillaLPat`? Why not just have an empty list of
#14773: MultiWayIf makes it easy to write partial programs that are not catched by -Wall -------------------------------------+------------------------------------- Reporter: SimonHengel | Owner: sighingnow Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: | PatternMatchWarnings Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | T14773a,T14773b Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4400 Wiki Page: | -------------------------------------+------------------------------------- Comment (by sighingnow): Replying to [comment:11 simonpj]: patterns? I have misunderstood the `m_pats` field of `Match` and the `vars` arguments of `checkMatches`. I'll fix it.
I hope that `StmtCxt` is true of the latter two but not of the former.
Now I see that we can't use `StmtCtx` here. Could I add another context for the `False` guards in ?
{{{ b :: Bool Just b | False = Nothing }}}
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14773#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler