[Issue 16999] New: takeOne popFront/Back does not pop the source range

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 21 22:03:16 PST 2016


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 at puremagic.com
          Reporter: Ajieskola at 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

--


More information about the Digitalmars-d-bugs mailing list