[Issue 8803] map.filter.array run map delegate an incorrect number of time.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 09:27:28 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8803



--- Comment #12 from deadalnix <deadalnix at gmail.com> 2012-10-17 09:27:27 PDT ---
(In reply to comment #11)
> There are clear advantages and disadvantages of both approaches, and reasonable
> people may disagree on the choice. I will close this; formerly map did cache
> its current element, to puzzlement by its users. I changed the behavior a long
> time ago, to much less puzzlement.

Then filter should call .front twice.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list