Should alias expand visibility?
Pelle
pelle.mansson at gmail.com
Tue Jul 27 11:04:55 PDT 2010
On 07/26/2010 12:23 AM, Tomek Sowiński wrote:
> If foo is private but its public alias poo exists, should you be able to use
> poo? (currently you can't)
>
>
> Tomek
I think you should, because of this:
private import package;
alias package.function myFun;
If you want to provide a function from a package but not forward the
visibility of the entire package.
More information about the Digitalmars-d
mailing list