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

--- Comment #0 from Ellery Newcomer <> 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:
------- You are receiving this mail because: -------

Reply via email to