www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13582] New: Deprecated modules imported from other deprecated


          Issue ID: 13582
           Summary: Deprecated modules imported from other deprecated
                    modules shouldn't be warned about
           Product: D
           Version: D1 & D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: public dicebot.lv

Recently added "deprecated module" feature pints deprecation message every time
import statement is encountered. This results in excessive warning spam and
makes test coverage of deprecated modules problebatic.

Simple solution to make output more useful is to only print deprecation message
for the first deprecated import in the import chain. This is especially helpful
when module groups or packages get deprecated at once.

Oct 06 2014