http://d.puremagic.com/issues/show_bug.cgi?id=6892
Summary: Formatted write with specified length of enum member 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 2011-11-05 04:04:51 PDT --- import std.stdio, std.traits; enum Foo { A }; void main() { writefln(">%12s<", "A"); Foo[] foos = [EnumMembers!Foo]; writefln(">%12s<", foos[0]); } Output dmd 2.057head: > A< >A< Expected output: > A< > A< -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------