Bug 6739 – [CTFE] Cannot set a value to an outer AA of a nested AA

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2011-09-28T05:07:00Z
Last change time
2011-09-30T16:02:50Z
Assigned to
nobody
Creator
youxkei

Comments

Comment #0 by youxkei — 2011-09-28T05:07:44Z
pragma(msg, { int[int][int] aaa; aaa[3][1] = 4; aaa[3][3] = 3;// OK aaa[1][5] = 9;// Error: key 1 not found in associative array aaa return 2; }()); This code doesn't be compiled by the dmd v2.056 DEBUG(built from github after the Issue 6693 was fixed).
Comment #1 by bugzilla — 2011-09-30T16:02:50Z