But it won't work on a local scope.
Re: Suggestion to implement __traits(getImports, Scope)
Adam D. Ruppe via Digitalmars-d Thu, 08 May 2014 11:46:35 -0700
You can actually get imports on module level now with
__traits(allMembers). They'll be seen as members whose .stringof
startsWith("module ").
- Suggestion to implement __traits(getImport... Yuriy via Digitalmars-d
- Re: Suggestion to implement __traits(... bearophile via Digitalmars-d
- Re: Suggestion to implement __traits(... Adam D. Ruppe via Digitalmars-d
- Re: Suggestion to implement __tra... Yuriy via Digitalmars-d
- Re: Suggestion to implement _... Adam D. Ruppe via Digitalmars-d
- Re: Suggestion to implement __traits(... captaindet via Digitalmars-d
- Re: Suggestion to implement __tra... Mason McGill via Digitalmars-d
- Re: Suggestion to implement _... captaindet via Digitalmars-d