[Issue 24778] Warning for unused imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 23 05:10:14 UTC 2024


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

ryuukk_ <ryuukk.dev at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ryuukk.dev at gmail.com

--- Comment #3 from ryuukk_ <ryuukk.dev at gmail.com> ---
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

--


More information about the Digitalmars-d-bugs mailing list