April 22, 2012 [phobos] [D-Programming-Language/phobos] 028699: fix Issue 7944 - std.range.iota.popFront() cycles ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 028699fe6ca3defa598fef65ffd287e7e3626f72 https://github.com/D-Programming-Language/phobos/commit/028699fe6ca3defa598fef65ffd287e7e3626f72 Author: Brad Anderson <eco@gnuk.net> Date: 2012-04-19 (Thu, 19 Apr 2012) Changed paths: M std/range.d Log Message: ----------- fix Issue 7944 - std.range.iota.popFront() cycles when the range is empty Added !empty assertions to front, popFront, back, and popBack to the integer iota like some other ranges do. Also added the one that was missing to the floating point iota. Commit: 23bfcd766f71f2f6c0fb007b7b74a29417afc3a8 https://github.com/D-Programming-Language/phobos/commit/23bfcd766f71f2f6c0fb007b7b74a29417afc3a8 Author: Brad Anderson <eco@gnuk.net> Date: 2012-04-20 (Fri, 20 Apr 2012) Changed paths: M std/range.d Log Message: ----------- Add index < length assert to iota.opIndex Commit: 9233d3d20d18e2babf5395c4fb934c800b27ca7d https://github.com/D-Programming-Language/phobos/commit/9233d3d20d18e2babf5395c4fb934c800b27ca7d Author: David Simcha <dsimcha@gmail.com> Date: 2012-04-22 (Sun, 22 Apr 2012) Changed paths: M std/range.d Log Message: ----------- Merge pull request #545 from eco/iota-pop-empty fix Issue 7944 - std.range.iota.popFront() cycles when the range is empty Compare: https://github.com/D-Programming-Language/phobos/compare/b1252f3...9233d3d |
Copyright © 1999-2021 by the D Language Foundation