[Issue 3603] Allow selective import syntax to import several modules from a package

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 26 10:32:51 UTC 2019


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

Nick Treleaven <nick at geany.org> changed:

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

--- Comment #8 from Nick Treleaven <nick at geany.org> ---
> import really;

No, that imports many symbols the user doesn't want in scope. Phobos has a
policy of importing the tightest possible module name with selective imports so
code doesn't break when symbols are added to modules that aren't even needed.

--


More information about the Digitalmars-d-bugs mailing list