[Issue 13582] New: Deprecated modules imported from other deprecated modules shouldn't be warned about
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Oct 6 21:13:18 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13582
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 at puremagic.com
Reporter: public at 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.
--
More information about the Digitalmars-d-bugs
mailing list