Fully-qualified symbol disambiguation is deprecated???

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 8 16:02:42 PDT 2016


On 09/08/2016 03:22 PM, Nick Sabalausky wrote:
> On 09/08/2016 06:13 PM, Steven Schveighoffer wrote:
>> On 9/8/16 6:02 PM, Nick Sabalausky wrote:
>>> I'm getting deprecation messages ("Package...not accessible here,
>>> perhaps add static import") when simply trying to use fully-qualified
>>> symbol names to disambiguate a symbol. Is this really intended?
>>
>> Yes.
>>
>> It's difficult to attribute the message without context, though.
>
> Yea, unfortunately I don't have it narrowed down to a test case, atm.
>
>> 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.
>

Do you have __traits(allMembers) and __traits(getMember) in your code? 
There is this bug (fix of which caused other trouble and controversy :) ):

   https://issues.dlang.org/show_bug.cgi?id=15907

Ali



More information about the Digitalmars-d-learn mailing list