https://issues.dlang.org/show_bug.cgi?id=12791

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
I have been trying to find a way to dynamically retrieve all the fields of a
derived class (and their value), including of course those of the base class. 

As you say and as described in the doc, `.tupleof` doesn't return fields from
the base class (why?)

Traits only help for static fields, and calling `myclassinstance.super.tupleof`
doesn't work, nor does `myclassinstance.BaseClassName.tupleof` (as suggested in
http://forum.dlang.org/post/[email protected])

Is there any way?

--

Reply via email to