Fully-qualified symbol disambiguation is deprecated???

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 9 04:53:14 PDT 2016


On 9/8/16 6:26 PM, Nick Sabalausky wrote:
> On 09/08/2016 06:22 PM, Nick Sabalausky wrote:
>> On 09/08/2016 06:13 PM, Steven Schveighoffer wrote:
>>> And
>>> there are still some straggling bugs which cause this message to be
>>> erroneously printed.
>>>
>>
>> I'm pretty sure I've hit one of those :( Can't be certain though until I
>> examine my specific case further.
>>
>
> Oh, although the whole "selective imports don't import the FQN" is a big
> surprise to me. I think at least some of the messages I hit were from
> that. (Can't say I'm a big fan of that particular one, but meh,
> whatever...)

That is probably a more controversial issue. But I can see why it was done.

What I do agree with is that if you import x.y: z, then you shouldn't be 
able to use FQN x.y.foo.

-Steve


More information about the Digitalmars-d-learn mailing list