[Issue 5272] New: Postblit not called on copying due to array append

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 24 12:20:52 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5272

           Summary: Postblit not called on copying due to array append
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2010-11-24 12:19:31 PST ---
I found this bug by reading the code in lifetime.d, not by a test case.  Struct
postblits are not called when an array is copied due to an append, and they
should be, since there could still be references to the original array.

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


More information about the Digitalmars-d-bugs mailing list