www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14197] New: "replace" was moved from std.string without alias


          Issue ID: 14197
           Summary: "replace" was moved from std.string without alias
           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:

Feb 18 2015