D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.

Issue 6739

Summary: [CTFE] Cannot set a value to an outer AA of a nested AA
Product: D Reporter: Hisayuki Mima <youxkei>
Component: dmdAssignee: No Owner <nobody>
Status: RESOLVED FIXED
Severity: normal CC: bugzilla
Priority: P2
Version: D2
Hardware: x86
OS: Windows

Description Hisayuki Mima 2011年09月28日 05:07:44 UTC
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).

AltStyle によって変換されたページ (->オリジナル) /