www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2135] New: dmd produces wrong code for dynamic array of associative array

reply d-bugmail puremagic.com writes:
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.


-- 
May 30 2008
next sibling parent d-bugmail puremagic.com writes:
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)


-- 
Jun 04 2008
prev sibling parent d-bugmail puremagic.com writes:
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 ***


-- 
Jun 05 2008