[GHC] #1231: deprecation warnings are reported too often

GHC cvs-ghc at haskell.org
Tue Jan 22 00:00:01 CET 2013


#1231: deprecation warnings are reported too often
----------------------------------------------+-----------------------------
    Reporter:  malcolm.wallace@…              |       Owner:  simonpj             
        Type:  feature request                |      Status:  new                 
    Priority:  low                            |   Milestone:  _|_                 
   Component:  Compiler                       |     Version:  6.6                 
    Keywords:                                 |          Os:  Unknown/Multiple    
Architecture:  Unknown/Multiple               |     Failure:  None/Unknown        
  Difficulty:  Unknown                        |    Testcase:  nhc98/src/compiler98
   Blockedby:                                 |    Blocking:                      
     Related:                                 |  
----------------------------------------------+-----------------------------
Changes (by morabbin):

  * failure:  => None/Unknown


Comment:

 [http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html
 #deprecated-pragma Docs for 7.6.1] now read:
   Warnings and deprecations are not reported for (a) uses within the
 defining module, and (b) uses in an export list. The latter reduces
 spurious complaints within a library in which one module gathers together
 and re-exports the exports of several others.
 which seems to be equivalent to Malcolm's "before", not his "after".

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



More information about the ghc-tickets mailing list