cannot have overloaded nested functions?

Timothee Cour thelastmammoth at gmail.com
Wed May 15 16:10:49 PDT 2013


why isn't this supported?

 void main(){
    void fun();
    void fun(int x);//Error: declaration fun is already defined
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130515/d000d662/attachment.html>


More information about the Digitalmars-d-learn mailing list