[DIP1005] Unused imports in with(import) declarations: leave alone of flag as errors?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 24 16:39:56 PST 2016


On Saturday, 24 December 2016 at 20:32:58 UTC, Andrei 
Alexandrescu wrote:
> Such situations occur during refactorings and code evolution. 
> The import is no longer used. Should the compiler flag that as 
> an error, or leave it be?

please, no. "this is a work for a linter", as Walter likes to say 
(sorry for inexact quoting ;-).


More information about the Digitalmars-d mailing list