Nested public imports - bug or feature?

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 13 09:19:35 PDT 2015


On Thursday, 13 August 2015 at 15:59:46 UTC, Timon Gehr wrote:
> On 08/13/2015 05:49 PM, Dicebot wrote:
>> On Thursday, 13 August 2015 at 15:40:12 UTC, Timon Gehr wrote:
>>> You know about static imports, right?
>>
>> Yes, as well as about renamed and selective ones ;)
>>
>> Problem with static imports is that they are all-or-nothing.
>
> (Which is an arbitrary restriction most likely motivated by 
> implementation difficulties.)

Well I prefer to work with tools I have right now and not wait 
for something sane to be implemented.

> static import greetings=phrases.english.greetings;
>
> ?

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



More information about the Digitalmars-d mailing list