http://d.puremagic.com/issues/show_bug.cgi?id=8921

           Summary: Printing of array of char-based enums
           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-10-31 04:02:27 PDT ---
import std.stdio: writeln;
enum Foo : char { A = 'a' }
void main() {
    writeln(Foo.A);
    Foo[3] bar;
    writeln(bar);
}


Expected output:

A
[A, A, A]


Received output (dmd 2.061alpha):

A
aaa

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to