www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13515] New: "Range violation" when writing to array of AAs

https://issues.dlang.org/show_bug.cgi?id=13515

          Issue ID: 13515
           Summary: "Range violation" when writing to array of AAs from
                    static this
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

//////// test.d ////////
Object[string][100] aa;

static this()
{
    aa[5]["foo"] = null;
}

void main() {}
////////////////////////

Introduced in https://github.com/D-Programming-Language/dmd/pull/2665

--
Sep 20 2014