[Issue 14197] New: "replace" was moved from std.string without alias added

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 18 05:17:41 PST 2015


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

--


More information about the Digitalmars-d-bugs mailing list