http://d.puremagic.com/issues/show_bug.cgi?id=7341
Summary: writefln of strings array with size formatting Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2012-01-21 15:28:00 PST --- D2 code: import std.stdio; void main() { int[] a1 = [1, 10, 5]; writefln("%12d", a1); string[] a2 = ["red", "yellow", "ya"]; writefln("%12s", a2); } Output: [ 1, 10, 5] ["red", "yellow", "ya"] But I expect an output more like: [ 1, 10, 5] [ "red", "yellow", "ya"] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------