On Monday, 27 September 2021 at 14:54:41 UTC, Alexey wrote: > I'm not sure if this is my incorrect code or incorrect dmd > behavior. This is by design, overloads only consider things declared in the same place. see here https://dlang.org/articles/hijack.html