http://d.puremagic.com/issues/show_bug.cgi?id=2881
--- Comment #4 from [email protected] 2010-04-29 01:42:30 PDT --- If you just want to get the member names of a struct, there's an easy work around: use SomeStructType.tupleof.stringof and parse the result. Some strange inconsistency makes dmd use the actual member name even if the member's type is an enum. Sadly, this makes parsing the .stringof result even more hacky and non-trivial than without bug 2881. (If you use SomeStructType.tupleof[idx].stringof, when idx is the index of a member of an enum type, bug 2881 will make dmd to return the type name instead of the member name.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
