[GHC] #5867: Include use site of deprecated identifiers in deprecation warnings
GHC
cvs-ghc at haskell.org
Mon Apr 23 21:35:08 CEST 2012
#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 mklinik):
It should work like other warnings and errors. One message per occurrence.
When you use editor integration, the compiler output should enable you to
jump to each the places where the deprecated item is used.
{{{
abcdef = bar
ghcijl = bar
}}}
gives two error messages
{{{
$ ghc --make Test.hs
[1 of 1] Compiling Main ( Test.hs, Test.o )
Test.hs:1:10: Not in scope: `bar'
Test.hs:2:10: Not in scope: `bar'
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5867#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list