Warn on unused imports?

FeepingCreature feepingcreature at gmail.com
Tue Sep 25 13:07:28 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:
>
> [...]

For instance, I've been thinking about hiding the warning behind 
an additional flag (-wunused-imports or -wu?) so that it's 
opt-in. Would that be an acceptable approach?


More information about the Digitalmars-d mailing list