On Wed, 4 Dec 2024 at 08:16, Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
Koenig lookup? I ran away, far away, from that, after implementing it for C++.

It's a nightmare.

So what do you suggest?
UFCS makes this pattern more attractive than ever, but our lookup rules inhibit any practical application.
The problem is essentially that a more-local import or singular declaration shadows an entire overload set from a less-local scope, rather than merging with it.