[GHC] #4905: New flag to disable warning on incomplete pattern matches in lambdas

GHC cvs-ghc at haskell.org
Thu Feb 24 18:52:05 CET 2011


#4905: New flag to disable warning on incomplete pattern matches in lambdas
------------------------------+---------------------------------------------
  Reporter:  batterseapower   |          Owner:                  
      Type:  feature request  |         Status:  new             
  Priority:  normal           |      Milestone:                  
 Component:  Compiler         |        Version:  7.0.1           
Resolution:                   |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Changes (by maeder):

  * status:  closed => new
  * resolution:  fixed =>


Comment:

 I still get a warning with ghc-7.0.1.20110217

 {{{
 src/scan.hs:283:23:
     Warning: Pattern match(es) are non-exhaustive
              In a lambda abstraction: Patterns not matched: _ []
 }}}

 for "cabal install scan". Was the patch merged to stable?

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



More information about the Glasgow-haskell-bugs mailing list