[GHC] #3927: Incomplete/overlapped pattern warnings + GADTs = inadequate

GHC ghc-devs at haskell.org
Thu Apr 17 07:23:20 UTC 2014


#3927: Incomplete/overlapped pattern warnings + GADTs = inadequate
-------------------------------------+------------------------------------
        Reporter:  simonpj           |            Owner:  simonpj
            Type:  bug               |           Status:  new
        Priority:  high              |        Milestone:  7.8.3
       Component:  Compiler          |          Version:  6.12.1
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #4139
-------------------------------------+------------------------------------

Comment (by simonpj):

 Yes, I think it's the same thing, though this time you have do some type-
 family rewrites too, to see that the patterns are exhaustive.

 Simon

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3927#comment:33>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list