[Issue 13515] New: "Range violation" when writing to array of AAs from static this

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 20 15:50:47 PDT 2014


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 at puremagic.com
          Reporter: thecybershadow at 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

--


More information about the Digitalmars-d-bugs mailing list