#5867: Include use site of deprecated identifiers in deprecation warnings
---------------------------------+------------------------------------------
    Reporter:  SimonHengel       |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by SimonHengel):

 For my use cases I'd prefer to get one warning for every call site of a
 deprecated identifier.  That way I can quickly find the code that causes
 the warning (or even configure my editor to bring up the relevant piece of
 code, think of vim's quickfix list).

 Ideally I would also have some means of suppressing a warning on one
 particular call-site (akin to Java's @SuppressWarnings), but I think
 that's a different story (is there something in the pipeline, searching
 the tickets is horribly slow).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5867#comment:2>
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