September 03, 2009
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: -------
July 06, 2010
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


--- Comment #1 from Lionello Lunesu <lio+bugzilla@lunesu.com> 2010-07-06 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: -------