Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formattedWrite should support string interpolation #10550

Open
dlangBugzillaToGithub opened this issue May 14, 2024 · 1 comment · May be fixed by #10652
Open

formattedWrite should support string interpolation #10550

dlangBugzillaToGithub opened this issue May 14, 2024 · 1 comment · May be fixed by #10652
Labels
Arch:x86_64 Issues specific to x86_64 OS:Linux Issues specific to Linux Severity:Enhancement

Comments

@dlangBugzillaToGithub
Copy link

default_357-line (@FeepingCreature) reported this on 2024-05-14T12:10:00Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=24550

Description

auto sink = appender!(char[]);

const world = "World";

// This works
sink.formattedWrite("Hello %s", world);

// This does not.
sink.formattedWrite(i"Hello $(world)");
@dlangBugzillaToGithub
Copy link
Author

dlang-bot commented on 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

@LightBender LightBender removed the P1 label Dec 6, 2024
pbackus added a commit to pbackus/phobos that referenced this issue Feb 27, 2025
These are variants of text, wtext, and dtext that write their output to
an output range instead of returning a string.

Fixes dlang#10550
@pbackus pbackus linked a pull request Feb 27, 2025 that will close this issue
pbackus added a commit to pbackus/phobos that referenced this issue Feb 28, 2025
These are variants of text, wtext, and dtext that write their output to
an output range instead of returning a string.

Fixes dlang#10550
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch:x86_64 Issues specific to x86_64 OS:Linux Issues specific to Linux Severity:Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants