[GHC] #8710: Overlapping patterns warning misplaced

GHC ghc-devs at haskell.org
Mon Feb 22 16:09:11 UTC 2016


#8710: Overlapping patterns warning misplaced
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  7.7
      Resolution:                    |             Keywords:
                                     |  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):  Phab:D1910,
       Wiki Page:                    |  Phab:D1920
-------------------------------------+-------------------------------------

Comment (by simonpj):

 So we are agreed on one warning per equation, with the location of the
 equation in the warning header.

 George: I think you are saying that D1910 and D1920 do the same thing.  So
 what's the difference?  Which should we choose?

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


More information about the ghc-tickets mailing list