digitalmars.D.bugs - [Issue 14197] New: "replace" was moved from std.string without alias
- via Digitalmars-d-bugs (22/22) Feb 18 2015 https://issues.dlang.org/show_bug.cgi?id=14197
https://issues.dlang.org/show_bug.cgi?id=14197 Issue ID: 14197 Summary: "replace" was moved from std.string without alias added Product: D Version: future Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: doob me.com The "replace" function was moved from std.string to std.array and no public import or alias was added (as far as I can see) to keep the backward compatibility. Example: import std.string : replace; The above code works with DMD 2.066.1 but fails to compile with 2.067.0-b2. The commit that introduced the regression seems to be: 8b361fb217f87ac32c8904fb520cd301d2bc327a. --
Feb 18 2015