Comment #0 by default_357-line — 2024-05-14T12:10:00Z
auto sink = appender!(char[]);
const world = "World";
// This works
sink.formattedWrite("Hello %s", world);
// This does not.
sink.formattedWrite(i"Hello $(world)");
Comment #1 by dlang-bot — 2024-08-03T03:15:31Z
@RubyTheRoobster updated dlang/phobos pull request #9041 "Fix Issue 24550 - - formattedWrite should support string interpolation " fixing this issue:
- Fix Bugzilla Issue 24550
https://github.com/dlang/phobos/pull/9041
Comment #2 by snarwin+bugzilla — 2024-11-20T20:37:16Z
Should we really be calling this "formatted" write when it doesn't use a format string?
Seems like it would make more sense with a different name; for example:
sink.write(i"Hello $(world)");
Comment #3 by robert.schadek — 2024-12-01T16:42:32Z