Suggestion to implement __traits(getImports, Scope)

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Thu May 8 11:42:42 PDT 2014


You can actually get imports on module level now with 
__traits(allMembers). They'll be seen as members whose .stringof 
startsWith("module ").

But it won't work on a local scope.


More information about the Digitalmars-d mailing list