
#15385: -Wincomplete-patterns gets confused when combining GADTs and pattern guards -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.5 Resolution: | Keywords: | PatternMatchWarnings Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4968 Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): OK. Well, I simply went along with the status quo (adapting from the code for `case` expressions in `matchWrapper`) when writing Phab:D4968. At the very least, I'd like to get that patch in to 8.6, and then perhaps we can revisit the design of term equalities later. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15385#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler