http://d.puremagic.com/issues/show_bug.cgi?id=10009
Summary: foreach_reverse and AA.byKey/byValue
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Henning Pohl <[email protected]> 2013-04-29 12:22:36
PDT ---
void main() {
auto aa = [1 : 2, 2 : 3];
foreach_reverse (e; aa.byKey()) { }
}
-----
test.d(4): Error: invalid foreach aggregate aa.byKey().state
-----
foreach works like a charm.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------