digitalmars.D.bugs - [Issue 3285] New: Struct's destructor not called
- d-bugmail puremagic.com (35/35) Sep 03 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3285
- d-bugmail puremagic.com (12/12) Jul 06 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3285
http://d.puremagic.com/issues/show_bug.cgi?id=3285 Summary: Struct's destructor not called Product: D Version: 2.032 Platform: All OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: yaochenghan gmail.com import std.stdio; struct S { ~this() { writefln("die!"); } void fun(){} } S fun() { return S(); } int main(char[][] args) { fun().fun(); ... return 0; } Struct's destructor not called . -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 03 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3285 Lionello Lunesu <lio+bugzilla lunesu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |lio+bugzilla lunesu.com Resolution| |DUPLICATE 01:34:59 PDT --- *** This issue has been marked as a duplicate of issue 3516 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2010