[Issue 13679] New: foreach_reverse is allowed for AAs
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Nov 3 23:43:09 PST 2014
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 at puremagic.com
Reporter: yebblies at 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) {}
}
--
More information about the Digitalmars-d-bugs
mailing list