[Issue 21467] Imported modules/packages are inaccessible outside the importing module

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 11 14:24:44 UTC 2020


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang at gmail.com

--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
> source/b.d-mixin-5(5,1): Error: undefined identifier b in module a

This is correct. `b` is not a member of `a`, it's an import. I'm tempted to
mark this as `INVALID`.

--


More information about the Digitalmars-d-bugs mailing list