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

GHC ghc-devs at haskell.org
Thu May 3 09:18:02 UTC 2018


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

 * keywords:  case overlap => case overlap, PatternMatchWarnings


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


More information about the ghc-tickets mailing list