[Issue 11861] Unable to selectively import a nested symbol

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 5 09:12:25 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
I'm pretty sure that allowing to bind aliases for arbitrarily-nested symbols
inside imported modules is not a feature that import statements are meant for.

I suggest using a static import + fully-qualified alias in the importing module
instead.

--


More information about the Digitalmars-d-bugs mailing list