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

--- Comment #0 from 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<

Expected output:

>           A<
>           A<

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to