Symbol lookup rules and imports

Mike Parker via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 23:20:42 PST 2014


On 12/5/2014 10:04 AM, ketmar via Digitalmars-d wrote:
> On Thu, 4 Dec 2014 14:15:22 -0800
> "H. S. Teoh via Digitalmars-d" <digitalmars-d at puremagic.com> wrote:

>>
>> OTOH, Kenji has a different solution already in PR form:
>>
>> 	https://github.com/D-Programming-Language/dmd/pull/3407
> "Static, renamed, and selective imports are always public"? nononono!
> as for static imports -- ok, let it be (but i don't want it too). as
> for renamed and selective... in no way!
>

I think you misunderstand. They are public now, which makes them 
horribly broken. The PR aims to fix that.


More information about the Digitalmars-d mailing list