conflicting alias in package module

60rntogo 60rntogo at gmail.com
Sat Sep 26 14:59:21 UTC 2020


On Saturday, 26 September 2020 at 13:45:21 UTC, Steven 
Schveighoffer wrote:
> A selective import is equivalent to aliasing (to the public) 
> the symbol as if it were defined in that scope.
>
> You have to label it as private if you want it to be private.

Are you saying that I should write this in bar.d?

private import pack : Foo;

This still gives the same error.



More information about the Digitalmars-d-learn mailing list