October 17, 2012 [Issue 8803] map.filter.array run map delegate an incorrect number of time. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8803 William Moore <nyphbl8d@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nyphbl8d@gmail.com --- Comment #10 from William Moore <nyphbl8d@gmail.com> 2012-10-17 06:33:27 PDT --- Changing the documentation to match does not necessarily make the code correct. In this case it means that the documentation is now broken as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 17, 2012 [Issue 8803] map.filter.array run map delegate an incorrect number of time. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8803 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrei@metalanguage.com Resolution| |WONTFIX --- Comment #11 from Andrei Alexandrescu <andrei@metalanguage.com> 2012-10-17 09:26:02 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 17, 2012 [Issue 8803] map.filter.array run map delegate an incorrect number of time. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #12 from deadalnix <deadalnix@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: ------- |
Copyright © 1999-2021 by the D Language Foundation