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

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6739 - [CTFE] Cannot set a value to an outer AA of a nested AA
Summary: [CTFE] Cannot set a value to an outer AA of a nested AA
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
Reported: 2011年09月28日 05:07 UTC by Hisayuki Mima
Modified: 2011年09月30日 16:02 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
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 によって変換されたページ (->オリジナル) /