Is this correct?
Adam D. Ruppe
destructionator at gmail.com
Thu Feb 6 23:21:17 UTC 2020
On Thursday, 6 February 2020 at 23:05:19 UTC, Jonathan Marler
wrote:
> Is this the expected behavior?
Yes. (at least for those of us intimately familiar with the spec,
lol, it is a faq among others)
This is the anti-hijacking rule described here:
https://dlang.org/articles/hijack.html
Local functions are NOT overloaded against functions from a
different namespace. If you want that, you must explicitly opt in
by doing `alias foo = other.module.foo`
More information about the Digitalmars-d
mailing list