Why aren't overloaded nested functions allowed?

Timon Gehr via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 31 04:54:40 PDT 2016


On 30.05.2016 18:22, Max Samukha wrote:
>  From the spec (https://dlang.org/spec/function.html#nested): "Nested
> functions cannot be overloaded."
>
> Anybody knows what's the rationale?

The rationale is that nobody has implemented it in DMD.
https://issues.dlang.org/show_bug.cgi?id=12578


More information about the Digitalmars-d-learn mailing list