Bug 5340 – isOutputRange!(Appender!string, int) must be false.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-12-10T03:19:00Z
Last change time
2010-12-10T03:26:29Z
Assigned to
nobody
Creator
zan77137

Comments

Comment #0 by zan77137 — 2010-12-10T03:19:59Z
This code doesn't work at trunk(r2215): ----- import std.range, std.array; static assert(!isOutputRange!(Appender!string, int)); void main() { Appender!string app; put(app, 1); // NG! but this can compile. } ----- Result: $ main.d(3): Error: static assert (!true) is false Maybe, put(r, e) is broken, and this bug was added at r1755.
Comment #1 by zan77137 — 2010-12-10T03:26:29Z