#4439: GHC doesn't detect trivial complete pattern with the combination of
ExistentialQuantification and ViewPatterns
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:                                
   
        Type:  bug               |       Status:  merge                         
   
    Priority:  normal            |    Milestone:                                
   
   Component:  Compiler          |      Version:  6.12.3                        
   
    Keywords:                    |     Testcase:  deSugar/should_compile/T4439  
   
   Blockedby:                    |   Difficulty:                                
   
          Os:  Unknown/Multiple  |     Blocking:                                
   
Architecture:  Unknown/Multiple  |      Failure:  Incorrect warning at 
compile-time
---------------------------------+------------------------------------------
Changes (by simonpj):

  * status:  new => merge
  * testcase:  => deSugar/should_compile/T4439


Comment:

 Good point!  Fixed by
 {{{
 Tue Oct 26 00:04:05 PDT 2010  [email protected]
   * Make isIrrefutableHsPat say True for existentials; fixes Trac #4439

   At last. A bug that is really easy to fix.

     M ./compiler/hsSyn/HsPat.lhs -1 +4
 }}}
 Please merge

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4439#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to