Bug 14066 – [ICE] (init.c line 410) with wrongly used array definition syntax

Status
RESOLVED
Resolution
INVALID
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2015-01-28T10:23:00Z
Last change time
2015-02-03T12:31:34Z
Keywords
diagnostic, ice, pull
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2015-01-28T10:23:30Z
void main() { int[$] aa = ['a': 1]; } dmd 2.067alpha gives: Assertion failure: '!index[i]' on line 410 in file 'init.c'
Comment #1 by k.hara.pg — 2015-01-28T14:22:58Z
Comment #2 by k.hara.pg — 2015-02-03T12:31:34Z
The feature was reverted from master branch. So I close this issue.