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

GHC ghc-devs at haskell.org
Sun Dec 14 22:21:43 UTC 2014


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

Comment (by nh2):

 I'm having the same problem, `-Wall` reporting `Patterns not matched: Step
 _ (End _)` for some code but if I put that match in, I get `Inaccessible
 code in a pattern with constructor`.

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


More information about the ghc-tickets mailing list