www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16999] New: takeOne popFront/Back does not pop the source range

https://issues.dlang.org/show_bug.cgi?id=16999

          Issue ID: 16999
           Summary: takeOne popFront/Back does not pop the source range
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: Ajieskola gmail.com

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

--
Dec 21 2016