[GHC] #322: fromInteger-related pattern match overlap warnings

GHC trac at galois.com
Sat Feb 20 10:14:06 EST 2010


#322: fromInteger-related pattern match overlap warnings
---------------------------+------------------------------------------------
  Reporter:  ashley-y      |          Owner:  simonpj         
      Type:  bug           |         Status:  assigned        
  Priority:  normal        |      Milestone:  _|_             
 Component:  Compiler      |        Version:  6.4             
Resolution:  None          |       Keywords:  warnings        
Difficulty:  Unknown       |             Os:  Unknown/Multiple
  Testcase:  ds060         |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------

Comment(by igloo):

 You can't make the warning perfect, but in cases where we are not sure we
 have 3 choices:
  * warn
  * don't warn
  * give a different warning, saying that we aren't sure (this warning
 could be en/disabled separately)

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


More information about the Glasgow-haskell-bugs mailing list