[GHC] #2395: "Pattern match(es) are overlapped" warning with a single view pattern (ghc 6.9.20080606)

GHC trac at galois.com
Fri Jul 3 17:34:50 EDT 2009


#2395: "Pattern match(es) are overlapped" warning with a single view pattern (ghc
6.9.20080606)
---------------------------------+------------------------------------------
    Reporter:  rwbarton          |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  Compiler          |      Version:  6.9             
    Severity:  minor             |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by Baughn):

 * cc: sveina at gmail.com (added)

Comment:

 This bug makes view patterns absolutely impossible to use.

 I accept that fixing it could take some work, but can we at least suppress
 the warning in 6.10.4? Add an option for that, perhaps?

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


More information about the Glasgow-haskell-bugs mailing list