http://d.puremagic.com/issues/show_bug.cgi?id=6182
--- Comment #2 from Kenji Hara <[email protected]> 2013-06-13 03:38:24 PDT --- I checked this with 2.064a(fbd6c9f) struct S { static int cnt; this(this) { ++cnt; } } void main() { S[3] sa1; S[3] sa2; sa1[] = sa2[]; printf("S.cnt = %d\n", S.cnt); // prints 3 auto da1 = new S[](3); auto da2 = new S[](3); da1[] = da2[]; printf("S.cnt = %d \n", S.cnt); // prints 6 } Is this already fixed? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
