September 22 [Issue 24778] New: Warning for unused imports | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24778 Issue ID: 24778 Summary: Warning for unused imports Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: turkeyman@gmail.com This has come up before... but I seriously, desperately want this. Detecting unused imports is most important to improve build times. I periodically try and cull old imports to improve build times, but it's difficult to do, and just a massive waste of time! I know people don't like warnings; but this is exactly what warnings should be for. -- |
Copyright © 1999-2021 by the D Language Foundation