Unused import tool

Basile B. b2.temp at gmx.com
Wed Aug 16 17:29:33 UTC 2023


On Wednesday, 16 August 2023 at 17:17:22 UTC, Basile B. wrote:
> On Wednesday, 16 August 2023 at 05:26:11 UTC, Basile B. wrote:
>> [...]
>
> To be clear the styx version had the same problem as those you 
> mention, until [that 
> commit](https://gitlab.com/styx-lang/styx/-/commit/b890f94f78e05c244be67a743e8d8d013a018048). The flag mentioned previously, and that is set [here](https://gitlab.com/styx-lang/styx/-/commit/b890f94f78e05c244be67a743e8d8d013a018048#bd524f0aa3bc570bcb844ae4f453b2f2a32db4ae_354_355) (implementation of search is a bit different...), did not cause any slowdown.
>
> To conclude, I dont see how such a tool could work correctly 
> without being integrated directly in the compiler.

Otherwise another problem you may encounter is related to dot 
chains. only the LHS needs to be checked. The RHS might be 
resolved from the module where the LHS was found ;)


More information about the Digitalmars-d mailing list