Fully-qualified symbol disambiguation is deprecated???

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


On 9/9/16 5:38 AM, pineapple wrote:
> On Thursday, 8 September 2016 at 22:13:26 UTC, Steven Schveighoffer wrote:
>> I posted an article on this:
>> http://www.schveiguy.com/blog/2016/03/import-changes-in-d-2-071/
>>
> Regarding that article:
>
>> Another import-related bug fix is to prevent unintentional hijacking
>> of symbols inside a scoped import. Such imports are not at module
>> level, and import inside a function or other scope.
>
> I've actually never been able to get imports to work if I place them
> inside a function. They'll work fine compiling that single module which
> has the import-in-a-function, but as soon as I import that module from
> somewhere else I'll hit compile errors. Is this a known bug or am I just
> uniquely screwed?

Can you demonstrate the issue? I have never heard of this. imports 
should work when done inside a function.

-Steve



More information about the Digitalmars-d-learn mailing list