http://d.puremagic.com/issues/show_bug.cgi?id=8432
Summary: write needs to print full enum type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-07-25 06:20:45 PDT --- enum X { Val } void main() { string[X] hash; hash[X.Val] = "1"; writeln(hash); X[string] hash2; hash2["foo"] = X.Val; writeln(hash2); } Output: [Val:"1"] ["foo":Val] This should really be: [X.Val:"1"] ["foo":X.Val] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------