[Issue 7341] writefln of strings array with size formatting
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 21 12:06:25 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7341
--- Comment #4 from SomeDude <lovelydear at mailmetrash.com> 2012-04-21 12:07:22 PDT ---
(In reply to comment #3)
> But I'm getting the same error as SomeDude (DMD 2.059, Win32). Kenji - what
> setup do you have that's giving a different result?
He wrote it. The code that's supposed to work is:
import std.stdio;
void main() {
writefln("[%(%12d, %)]", [1, 10, 5]);
writefln("[%(%12s, %)]", ["red", "yellow", "ya"]);
}
Not the original test example.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list