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.

Reply via email to