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: nob...@puremagic.com
          Reporter: yebbl...@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) {}
}

--

Reply via email to