www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14066] New: [ICE] (init.c line 410) with wrongly used array


          Issue ID: 14066
           Summary: [ICE] (init.c line 410) with wrongly used array
                    definition syntax
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: bearophile_hugs eml.cc

void main() {
    int[$] aa = ['a': 1];

dmd 2.067alpha gives:

Assertion failure: '!index[i]' on line 410 in file 'init.c'

Jan 28 2015