private selective imports

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 6 12:45:53 PDT 2014


On Wednesday, 6 August 2014 at 19:35:02 UTC, Dicebot wrote:
> On Wednesday, 6 August 2014 at 19:31:04 UTC, Jonathan M Davis 
> wrote:
>> On Wednesday, 6 August 2014 at 18:33:23 UTC, Dicebot wrote:
>>> Most voted DMD bug : 
>>> https://issues.dlang.org/show_bug.cgi?id=314
>>
>> Yeah, it's why I'd suggest that folks not use selective 
>> imports right now. But people seem to really love the feature, 
>> so they use it and keep running into this problem.
>>
>> - Jonathan M Davis
>
> scope-local selective imports are not affected

Sure, but people keep using them at the module-level, which 
really shouldn't be done until the bug is fixed. IMHO, we'd be 
better off making it illegal to use selective imports at the 
module-level rather than keeping it as-is.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list