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

--- Comment #2 from Max Samukha <[email protected]> ---
If imports are not members, then:

__traits(allMembers, importing_module) must not return imports;
__traits(hasMember, importing_module, "imported_module") must return false;
it must be impossible to refer to the imported module as
'importing_module.imported_module' everywhere including the importing module.

Also, being an import and being a member are not conceptually exclusive. "`b`
is not a member of `a`, it's an import" sounds too dogmatic to me.

--

Reply via email to