http://d.puremagic.com/issues/show_bug.cgi?id=6637
Summary: Postblits of static array elements are not called on function argument Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2011-09-09 09:13:45 PDT --- struct S { static int spblit; this(this){ ++spblit; } } void test() { void func(S[3] sa){} S[3] sa; func(sa); // sa should be copied assert(S.spblit == 3); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------