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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Feb 22 02:20:10 PST 2015


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

--- Comment #4 from Jacob Carlborg <doob at me.com> ---
(In reply to Walter Bright from comment #3)
> It's been 4 years since replace was moved to std.array

It doesn't matter. It's between the latest stable version (2.066.1) and the
current beta (2.067.0-b2) the problem appeared. As Martin said, it's most
likely due to issue 314.

> - I'm willing to add
> an alias to std.string

I think an alias should be added and go through the standard deprecation path.
It's not impossible that other projects have the same problem.

> but would rather DWT was fixed. What do you think?

I'm having a really hard time understanding this. On one hand you're suggesting
me to fix my code because of a breaking change. On the other hand you're
complaining about your old D1 code doesn't compile with the latest D2 compiler
[1]. But as always, I will fix my code to be able to continue compiling it and
finding more breaking changes [2].

[1] http://forum.dlang.org/post/m5fub0$10u8$1@digitalmars.com
[2] http://forum.dlang.org/post/62A71AF2-9165-48C0-A60F-8274C3F8D34E@me.com

--


More information about the Digitalmars-d-bugs mailing list