digitalmars.D.bugs - [Issue 13679] New: foreach_reverse is allowed for AAs
- via Digitalmars-d-bugs (22/22) Nov 03 2014 https://issues.dlang.org/show_bug.cgi?id=13679
https://issues.dlang.org/show_bug.cgi?id=13679 Issue ID: 13679 Summary: foreach_reverse is allowed for AAs Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: yebblies gmail.com The code below compiles, but foreach_reverse does the same thing as foreach (just like 1553). void main() { int[int] aa; foreach(k, v; aa) {} foreach_reverse(k, v; aa) {} } --
Nov 03 2014