[Bug 70] dtor / destructor not called for (rvalue) struct used in opApply

2013-07-14 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=70 --- Comment #8 from Iain Buclaw 2013-07-14 10:57:48 UTC --- (In reply to comment #5) > Created attachment 41 [details] > Regression test case I think that regression would have been triggered against the patch above. But about 15 minutes after

[Bug 70] dtor / destructor not called for (rvalue) struct used in opApply

2013-07-14 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=70 --- Comment #7 from Johannes Pfau 2013-07-14 07:51:07 UTC --- > tree handler = tryfinally(compound(exp)[i+1..firstDtor], > compound(exp)[firstDtor..j+1]); Sorry, the pseudo-code is partially wrong. To be 100% correct we have to find the matchin

[Bug 70] dtor / destructor not called for (rvalue) struct used in opApply

2013-07-14 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=70 Johannes Pfau changed: What|Removed |Added Status|RESOLVED|NEW CC|

[Bug 70] dtor / destructor not called for (rvalue) struct used in opApply

2013-07-14 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=70 --- Comment #5 from Johannes Pfau 2013-07-14 07:01:44 UTC --- Created attachment 41 --> http://bugzilla.gdcproject.org/attachment.cgi?id=41 Regression test case -- Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email