[Issue 24778] Warning for unused imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 23 18:45:17 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24778

--- Comment #4 from Lance Bachmeier <lance at lancebachmeier.com> ---
(In reply to ryuukk_ from comment #3)
> It should be builtin into the compiler
> 
> People should learn to submit PRs to DMD
> 
> In odin it is as simple as passing:
> 
> -vet-unused-imports
>         Checks for unused import declarations.
> 
> 
> 
> Nobody wants to download external programs for such a basic, yet important,
> feature

It's Razvan's script, so the problem is not lack of understanding of how to
submit PRs. His post notes cases that will be hard to handle.

--


More information about the Digitalmars-d-bugs mailing list