Bug 16999 – takeOne popFront/Back does not pop the source range
Status
RESOLVED
Resolution
WORKSFORME
Severity
minor
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-12-22T06:03:00Z
Last change time
2017-07-02T22:59:21Z
Assigned to
Ajieskola
Creator
Ajieskola
Comments
Comment #0 by Ajieskola — 2016-12-22T06:03:16Z
This makes it inconsistent with take or takeExactly with length 1. Not on most occasions, but if using a reference range it does matter.
PR here: https://github.com/dlang/phobos/pull/4984
Comment #1 by github-bugzilla — 2017-01-26T22:08:02Z