Warn on unused imports?
FeepingCreature
feepingcreature at gmail.com
Wed Sep 26 07:41:30 UTC 2018
On Wednesday, 26 September 2018 at 01:13:11 UTC, Jonathan M Davis
wrote:
> IMHO, the only time that anything along the lines of a warning
> makes sense is when the programmer is proactively running a
> tool to specifically ask to be informed of a potential type of
> problem where they will then go look at each of them
> individually and decide whether what the tool is telling them
> is valid or not - at which point, some of what the tool says
> will be followed, and some if it will be ignored.
> - Jonathan M Davis
Yeah, that's exactly how I ended up doing it, as an additional
part of the -deps info. See
https://github.com/dlang/dmd/pull/8740 .
More information about the Digitalmars-d
mailing list