Multiple selective imports on one line

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 23 12:56:39 PST 2015


On Wednesday, 23 December 2015 at 19:34:26 UTC, earthfront wrote:
> On Wednesday, 23 December 2015 at 11:00:19 UTC, Jakob Ovrum 
> wrote:
> [...]
>
> My goal is to import several symbols from different modules on 
> one line.
> I'm trying to figure out if it's possible or not. It makes the 
> code more concise in some cases.

This is not available in the grammar. You can still open a 
duplicate enhancement request.

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

see also:

http://forum.dlang.org/post/trrxoacvpyyqrdfqxcvx@forum.dlang.org

I remember also another NG thread about this. A guy wanted this 
feature because he thought that this would allow him to write 
faster during a Hackathlon or something like that.


More information about the Digitalmars-d-learn mailing list