Thread overview
[Issue 2135] New: dmd produces wrong code for dynamic array of associative array
May 30, 2008
d-bugmail
Jun 04, 2008
d-bugmail
Jun 05, 2008
d-bugmail
May 30, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2135

           Summary: dmd produces wrong code for dynamic array of associative
                    array
           Product: D
           Version: 1.030
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: vsb@vsb.name


void main() {
    int[string][] a;
    a.length = 1;
}

This program run into an infinite loop on 3-rd line.


-- 

June 04, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2135





------- Comment #1 from vsb@vsb.name  2008-06-04 10:27 -------
I compiled this program with debug version of phobos library and it prints

Error: AssertError Failure std.gc(677)


-- 

June 05, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2135


gide@nwawudu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #2 from gide@nwawudu.com  2008-06-05 16:18 -------


*** This bug has been marked as a duplicate of 929 ***


--