January 16, 2011
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: nobody@puremagic.com
        ReportedBy: ellery-newcomer@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer@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: -------
July 03, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5456


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |yebblies@gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from yebblies <yebblies@gmail.com> 2011-07-03 22:23:21 EST ---
*** This issue has been marked as a duplicate of issue 3646 ***

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