On 2012-07-30 00:11, captaindet wrote:
What happened to __traits(allMembers, module_name)? It doesn't list
the contents of the current scope, but instead that of a module
(including the current one).
that could have saved me too ... now i tried getting it working, but to no
avail. i mean, __traits(allMembers, X) works for class X fine, but fails on
modules. using dmd 2.059 for win and some 2.060-ish phobos from some weeks ago.
could anyone provide a working code example pls?
cheers,
det
my bad, figured it out