#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 simonpj@…):

 commit bcff115ac5ae97ce02ac366313d117830b99af45
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Wed Apr 25 08:21:13 2012 +0100

     Report deprecations at occurrence sites, not once per module

     Fixes Trac #5867, and is generally nicer

  compiler/iface/LoadIface.lhs      |    2 +-
  compiler/rename/RnEnv.lhs         |   93
 +++++++++++++++++++++++++++++++++--
  compiler/rename/RnNames.lhs       |   98
 ++----------------------------------
  compiler/typecheck/TcRnDriver.lhs |   21 ++++----
  4 files changed, 105 insertions(+), 109 deletions(-)
 }}}

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