[Issue 12314] Allow Duplicate Renamed Imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 6 13:00:07 UTC 2019


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #7 from Nick Treleaven <nick at geany.org> ---
This could be implemented with a struct template:

alias gtk = MergeImports!"gtk.Application, gtk.Window";

The struct would expose the listed modules' members as aliased struct members.

I think this should be closed as WONTFIX, because it adds complexity for the
user when analysing modules for a case which might not be common enough, and
can be done as above.

--


More information about the Digitalmars-d-bugs mailing list