http://d.puremagic.com/issues/show_bug.cgi?id=5456

           Summary: function default parameter appears to propagate to
                    other functions
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2011-01-16 
11:03:02 PST ---
the code:

void badurk ( in int[] i = [1]){
}
void quadurk(in int[]){
}

pragma(msg, typeof(&badurk));
pragma(msg, typeof(&quadurk));

void main(){
}


the result:
void function(in const(int[]) i = [1])
void function(in const(int[]) i = [1])

it doesn't allow calling `quadurk()`, though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to