How to warn of unused imports?
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Feb 8 10:33:21 PST 2016
On 02/08/2016 06:35 AM, Adam D. Ruppe wrote:
> On Monday, 8 February 2016 at 08:25:09 UTC, cy wrote:
>> How do I get warned for leaving those, and a list of which ones I can
>> safely remove?
>
> Remove one, recompile. If it passes, leave it. If not, undo and move on
> to the next one.
Similarly, I comment out all; then uncomment one by one according to
compilation errors.
Ali
More information about the Digitalmars-d-learn
mailing list