Access specifiers and visibility

Andrew Edwards via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 10 06:29:40 PDT 2017


On Wednesday, 10 May 2017 at 13:13:46 UTC, Jesse Phillips wrote:
> On Wednesday, 10 May 2017 at 01:42:47 UTC, Andrew Edwards wrote:
>> Attempting to update a git repo to current D, I encounter the 
>> following deprecation messages:
>>
>> src/glwtf/signals.d-mixin-256(256,2): Deprecation: 
>> glwtf.input.BaseGLFWEventHandler._on_key_down is not visible 
>> from module glwtf.signals
>>
>> Thanks,
>> Andrew
>
> This comes from:
> http://dlang.org/changelog/2.071.0.html#dip22
>
> The module glwtf.signals needs to import glwtf.input. One of 
> the other imports was contaminating the namespace.

I actually attempted solve the issue with selective import as 
such::

     import glwtf.input : BaseGLFWEventHandler;

but it did not work. Importing the entire module does not work 
either.


More information about the Digitalmars-d-learn mailing list