Warn on unused imports?

Dejan Lekic dejan.lekic at gmail.com
Wed Sep 26 08:37:12 UTC 2018


On Tuesday, 25 September 2018 at 13:03:30 UTC, FeepingCreature 
wrote:
> I'm playing with a branch of DMD that would warn on unused 
> imports:

I humbly believe this does not belong to the compiler. These sort 
of things belong to a static code analyser TOOL. Think of 
checkstyle/findbugs in Java, or flake8/pep8 in Python world.

I think developing such tool as part of the D Language team group 
(GitHub) makes more sense than anything else...


More information about the Digitalmars-d mailing list