Inner function overload bug?
Era Scarecrow
rtcvb32 at yahoo.com
Tue Jan 8 13:43:04 PST 2013
On Tuesday, 8 January 2013 at 21:12:34 UTC, Philippe Sigaud wrote:
> It's conform to the spec
>
> http://dlang.org/function.html
>
> Last line of the 'nested functions' subsection:
>
> "Nested functions cannot be overloaded."
> Nested functions cannot be overloaded.
Hmm I seemed to have missed that.
That just means my unittest wouldn't work, so either it has to
be global or inside a struct/union/class (and global is not very
likely).
Thanks for clearing that up.
More information about the Digitalmars-d-learn
mailing list