Warn on unused imports?
drug
drug2004 at bk.ru
Wed Sep 26 11:50:55 UTC 2018
26.09.2018 13:00, Anonymouse пишет:
> 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:
>
> Would just like to say that I love the idea and would use it
> immediately. Currently going through old code that evolved too
> organically, with imports too far away from where they were originally
> (but no longer) used.
more over during refactoring it can results in recursive template
instantiating. And compiler isn't helpful in resolving it.
More information about the Digitalmars-d
mailing list