http://d.puremagic.com/issues/show_bug.cgi?id=7608
--- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-02-29 03:13:06 PST --- Actually it's broken for non-template types too: import std.stdio; import std.traits; struct Base { version(none) { int x; } int y; } void main() { auto vals = [__traits(allMembers, Base)]; writeln(vals); // writes ["x", "y"] } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------