https://issues.dlang.org/show_bug.cgi?id=18166
Issue ID: 18166 Summary: std.array.replace should be usable in @safe for dstrings Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com import std.array; replace("aa"d, 0, 0, "***"d); onlineapp.d(6): Error: @safe function 'onlineapp.test' cannot call @system function 'std.array.replace!(immutable(dchar), dstring).replace' --