sample assembler by a working and non working program
application/octet-stream
3456
Comments
Comment #0 by fawzi — 2008-08-19T04:49:39Z
something like this:
{{{
class A(int startAxis1=-1){
this() {}
}
void main(){
A!() aa=new A!()();
}
}}}
give an error like this:
/var/tmp//ccjRO3sd.s:106:FATAL:Symbol __D1t6__T1AZ1A5_ctorMFZC1t6__T1AZ1A already defined.
not using the default (either by explicit instantiation or removing it), or a positive default value don't give any problem.
maybe also dmd has the same problem (not tested)
Comment #1 by fawzi — 2008-08-19T06:48:32Z
Created attachment 271
sample assembler by a working and non working program
default argument having the problem (t.d,t.s) and explicit argument working (t2.d t2.s).
Most of the differences are the explicit -1 argument (mangled to ViN1), but duplicated (wrong) code can be easily seen.