Bug 16308 – [ndslice] should always has save primitive

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-07-21T12:58:00Z
Last change time
2016-10-01T11:46:19Z
Assigned to
nobody
Creator
ilyayaroshenko

Comments

Comment #0 by ilyayaroshenko — 2016-07-21T12:58:42Z
The reason is that Slice never calls front/popFront and others primitives of underlaying range.
Comment #1 by github-bugzilla — 2016-07-31T11:42:18Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/c58e3fadc9586e3dc930f8ddb10c3387a3334040 Issue 16308 - [ndslice] should always has save primitive The reason is that Slice never calls front/popFront and others primitives of underlaying range. remove constraints for `save` in ndslice.selection https://github.com/dlang/phobos/commit/73e3c70c8af9262289887bcb21fd58a1e70b42fd Merge pull request #4630 from 9il/ndsave fix Issue 16308 - [ndslice] should always has save primitive
Comment #2 by github-bugzilla — 2016-10-01T11:46:19Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/c58e3fadc9586e3dc930f8ddb10c3387a3334040 Issue 16308 - [ndslice] should always has save primitive https://github.com/dlang/phobos/commit/73e3c70c8af9262289887bcb21fd58a1e70b42fd Merge pull request #4630 from 9il/ndsave