May 05, 2013 [Issue 10009] foreach_reverse and AA.byKey/byValue | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10009 --- Comment #10 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-05-04 17:16:54 PDT --- > The foreach seems to give the same sequence as the foreach_reverse Which is essentially the same problem as bug# 6251. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 06, 2013 [Issue 10009] foreach_reverse and AA.byKey/byValue | ||||
---|---|---|---|---|
| ||||
Posted in reply to Henning Pohl | http://d.puremagic.com/issues/show_bug.cgi?id=10009 --- Comment #11 from Steven Schveighoffer <schveiguy@yahoo.com> 2013-05-06 11:25:25 PDT --- (In reply to comment #10) > Which is essentially the same problem as bug# 6251. Not exactly. AA is a type, not a delegate. It is allowed to define opApplyReverse. A delegate cannot possibly be valid with foreach_reverse (and that bug should be killed with prejudice). Even if opApplyReverse is defined for AAs, the implementation will be wrong (as bearophile described) because it's built from singly linked lists. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation