digitalmars.D.bugs - [Issue 6885] New: [CTFE] wrong code with dynamically allocated 2D array
- d-bugmail puremagic.com (25/25) Nov 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6885
- d-bugmail puremagic.com (13/13) Nov 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6885
http://d.puremagic.com/issues/show_bug.cgi?id=6885 Summary: [CTFE] wrong code with dynamically allocated 2D array Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug yahoo.com.au> 2011-11-03 01:32:13 PDT --- int bug6885() { auto array = new double[1][2]; array[1][0] = 6; array[0][0] = 1; assert(array[1][0]==6); return 1; } static assert(bug6885()); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 03 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6885 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED --- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2011-11-03 16:01:44 PDT --- https://github.com/D-Programming-Language/dmd/commit/eec4830dff9fa5653fb5e261660ea5596269085a https://github.com/D-Programming-Language/dmd/commit/31bbbb39b3f82624ee718a5c64d5f83f8ba3383b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 03 2011