Bug 10060 – readf doesn't work with arrays

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-10T13:37:58Z
Last change time
2024-12-01T16:17:33Z
Assigned to
alex.jercaianu
Creator
Martin Nowak
Moved to GitHub: phobos#9973 →

Comments

Comment #0 by code — 2013-05-10T13:37:58Z
import std.stdio; void main() { int[] s1; readf("%(%d,%)", &s1); } ---- Even though unformatRange works, this code fails to compile, because it can't instantiate std.conv.parse!(int[]) with a LockingTextWriter. https://github.com/D-Programming-Language/phobos/blob/2613bc8c3a7ad527ccdf58028765555392706ac9/std/format.d#L4043
Comment #1 by code — 2013-05-10T22:50:33Z
Comment #2 by robert.schadek — 2024-12-01T16:17:33Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9973 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB