Inner function overload bug?

dennis luehring dl.soluz at gmx.net
Wed Jan 9 04:02:46 PST 2013


Am 08.01.2013 22:43, schrieb Era Scarecrow:
> 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.
>

isn't that some sort of hijacking then?


More information about the Digitalmars-d-learn mailing list