[Issue 4511] Contravariance problem

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 9 11:33:10 PST 2010


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


Sobirari Muhomori <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


--- Comment #3 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> 2010-12-09 11:31:30 PST ---
>     x.x = 2;
>     writeln (x.x); // prints 2

This just writes to the memory after the allocated Base object, probably
corrupting heap.

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