[GHC] #8710: Overlapping patterns warning misplaced

GHC ghc-devs at haskell.org
Mon Feb 22 16:27:57 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 gkaracha):

 Replying to [comment:11 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?

 If we agree on one warning per equation, with the location of the equation
 in the warning header,
 then Phab:D1920 is the one we want. Phab:D1910 implements what you
 describe in you previous
 [comment:8 comment].

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


More information about the ghc-tickets mailing list