www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13132] New: ICE on interface AA key

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

          Issue ID: 13132
           Summary: ICE on interface AA key
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

With debug build dmd:

interface I21
{
    int test(int);
}

void test21()
{
    int[I21] aa;
}

causes:


DMD v2.066 DEBUG
Assertion failure: 'index < dim' on line 193 in file 'root\array.h'

abnormal program termination


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

--
Jul 14 2014