digitalmars.D.bugs - [Issue 7901] New: 2D std.Array breaks
- d-bugmail puremagic.com (40/40) Apr 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7901
- d-bugmail puremagic.com (10/10) Apr 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7901
- d-bugmail puremagic.com (11/11) Apr 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7901
http://d.puremagic.com/issues/show_bug.cgi?id=7901 Summary: 2D std.Array breaks Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: iteronvexor gmail.com 64-bit Gnu/Linux, DMD 2.059 import std.container; void main() { alias Array!int OneDim; alias Array!OneDim TwoDim; OneDim a1 = OneDim(); TwoDim a2 = TwoDim(); a1.insert(77); a2.insert(a1); // prints [77] /* if in a unittest, it prints [77] and then assertion failure. core.exception.AssertError std.typecons(2597): Assertion failure */ writeln(a2[0][]); TwoDim a3 = TwoDim(); a3.insert(OneDim()); a3[0].insert(3); a3[0].insert(4); // prints [] writeln(a3[0][]); // prints [], then segmentation fault writeln(a3[0][0]); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7901 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com PDT --- This is closely related to issue 6153. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 24 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7901 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE PDT --- *** This issue has been marked as a duplicate of issue 6153 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 24 2012