[Issue 8166] retro() of splitter() too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 10 01:27:09 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Seb <greensunny12 at gmail.com> ---
Argh from https://github.com/dlang/phobos/pull/6150


> Making splitter a bidirectional range fundamentally broken - at least if the delimiter has more than one element. Think about something like


If someone ever runs into this problem, you can of course always apply retro
before:


[1, 2, 3].retro.splitter("this is a message")

--


More information about the Digitalmars-d-bugs mailing list