www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11140] New: Destructor/postblit bug for struct members

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11140

           Summary: Destructor/postblit bug for struct members
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: sludwig outerproduct.org


--- Comment #0 from Sönke Ludwig <sludwig outerproduct.org> 2013-09-29 09:12:04
PDT ---
The attached program simulates a simple reference counted struct. Compiled with
"dmd -unittest" both unit tests fail on current DMD HEAD (2.064 dev). This is
similar to http://d.puremagic.com/issues/show_bug.cgi?id=10789 but probably has
a different root cause.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 29 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11140



--- Comment #1 from Sönke Ludwig <sludwig outerproduct.org> 2013-09-29 09:12:33
PDT ---
Created an attachment (id=1252)
Test case

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 29 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11140


Sönke Ludwig <sludwig outerproduct.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #2 from Sönke Ludwig <sludwig outerproduct.org> 2013-09-29 09:18:38
PDT ---
Bug in test case - closing.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 29 2013