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

--- Comment #7 from hst...@quickfur.ath.cx ---
Here's a minimal test case (reduced from rdmd.d (dustmite + manual + 2nd
dustmite + 2nd manual)):
-----
import std.algorithm;
void main()
{       
        string val;
        foreach (elem; val.splitter(val).map!(a => a)) {}
}
-----

Compile command: dmd rdmd.d
Compiler output:
-----
/usr/src/d/phobos/std/algorithm.d(483): Deprecation: function
std.algorithm.splitter!(string, string).splitter.Result.back is deprecated -
splitter!(Range, Range) cannot be iterated backwards (due to separator
overlap).
/usr/src/d/phobos/std/algorithm.d(488): Deprecation: function
std.algorithm.splitter!(string, string).splitter.Result.popBack is deprecated -
splitter!(Range, Range) cannot be iterated backwards (due to separator
overlap).
-----

--

Reply via email to