[GHC] #8016: case expression with mixed use of Num instances cause spurious overlap warning

GHC ghc-devs at haskell.org
Sat Sep 7 17:01:56 CEST 2013


#8016: case expression with mixed use of Num instances cause spurious overlap
warning
-------------------------------------------------+-------------------------
        Reporter:  bscarlet                      |            Owner:
            Type:  bug                           |           Status:
        Priority:  normal                        |  closed
       Component:  Compiler                      |        Milestone:
      Resolution:  duplicate                     |          Version:  7.6.3
Operating System:  Unknown/Multiple              |         Keywords:  case
 Type of failure:  Incorrect warning at          |  overlap
  compile-time                                   |     Architecture:
       Test Case:                                |  Unknown/Multiple
        Blocking:                                |       Difficulty:
                                                 |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------
Changes (by monoidal):

 * status:  new => closed
 * difficulty:   => Unknown
 * resolution:   => duplicate


Comment:

 I'm closing as a duplicate of #322. Unfortunately GHC's pattern matching
 warnings need an  overhaul.

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




More information about the ghc-tickets mailing list