Unused import tool
Timon Gehr
timon.gehr at gmx.ch
Tue Aug 15 09:28:53 UTC 2023
On 8/15/23 10:13, RazvanN wrote:
>
> I have tested this tool with some dmd sources and have already
> identified [unused
> imports](https://github.com/dlang/dmd/pulls?q=is%3Apr+delete+unused+imports+author%3ARazvanN7+is%3Aopen)·
Not a big complaint, just something of which to be aware: Removing
imports that are actually unused but can be relevant to the module will
break forks on rebase. E.g., the removal of `import dmd.tokens` from
`attrib.d` broke my implementation of UnpackDeclaration in the
`tuple-syntax` branch.
More information about the Digitalmars-d
mailing list