[Issue 6821] core.exception.OutOfMemoryError on dtor field test of class-embedded struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 4 06:56:22 PST 2012


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


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> 2012-01-04 06:56:21 PST ---
(In reply to comment #3)
> Because AssertError is an object, I understand. I think it was Vladimir who
> changed it to throw an exception, which is a good thing rather than have it
> corrupt memory.

Yup. The newer Druntime versions have a dedicated exception class for this
error (InvalidMemoryOperationError), which should be Google-able enough to
clear confusion regarding it.

-- 
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