https://issues.dlang.org/show_bug.cgi?id=12578

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Walter Bright <[email protected]> ---
The reasons for this behavior are twofold:

1. Local functions aren't visible outside of their scope. Their use is pretty
limited, and so there isn't much of any benefit to overloadability.

2. Forward references aren't allowed in local scope, meaning any use of
overloading would be fairly restricted anyway.

It's not impossible to overcome this, it just seems pointless.

--

Reply via email to