Bug 7946 – can't put string into Appender!string

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-04-19T10:12:00Z
Last change time
2012-04-19T10:24:44Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2012-04-19T10:12:56Z
cat > bug.d << CODE import std.array, std.format, std.range; void foo() { Appender!string app; // this is broken app.put("foo"); // => broken std.range.put std.range.put(app, "foo"); // => broken std.format.formattedWrite formattedWrite(app, "%s", "foo"); // => ... } CODE dmd -c bug --------
Comment #1 by code — 2012-04-19T10:24:44Z
Sorry, it was only a debugging artifact.