Local imports hide local symbols

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 23 11:52:50 PDT 2014


On 9/23/14, 11:48 AM, Meta wrote:
> On Tuesday, 23 September 2014 at 18:34:51 UTC, Andrei Alexandrescu wrote:
>> I've raised https://issues.dlang.org/show_bug.cgi?id=10378 to
>> critical. Please chime in with ideas for a good solution. Thanks! --
>> Andrei
>
> What about requiring all local imports to be statically imported?

It's in the issue comments. I think it would work (along with named 
imports). It would break code but only a relatively small fraction of 
new code. -- Andrei




More information about the Digitalmars-d mailing list