digitalmars.D.bugs - [Issue 8482] New: RefCounted fails on opAssign
- d-bugmail puremagic.com (32/32) Jul 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8482
- d-bugmail puremagic.com (11/11) Jul 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8482
- d-bugmail puremagic.com (11/11) Sep 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8482
http://d.puremagic.com/issues/show_bug.cgi?id=8482 Summary: RefCounted fails on opAssign Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: monarchdodra gmail.com ---- void main() { alias RefCounted!(int, RefCountedAutoInitialize.yes) RCY; alias RefCounted!(int, RefCountedAutoInitialize.no) RCN; RCY a; RCN b; a = 5; //(1) b = 5; //(2) }; ---- (1) will create an "object.Error: Access Violation" => This should actually be a legal call. (2) will create an "object.Error: Access Violation" => Correct behavior but... => Suggest adding an assert for development. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8482 monarchdodra gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nobody puremagic.com |monarchdodra gmail.com This is being corrected in pull 724 https://github.com/D-Programming-Language/phobos/pull/724 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8482 monarchdodra gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed in https://github.com/D-Programming-Language/phobos/pull/724 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 10 2012