Should alias expand visibility?

Tomek Sowiński just at ask.me
Mon Jul 26 12:08:32 PDT 2010


Nick Sabalausky wrote:

>> Sorry you had to go through that.  My post was an attempt at dry humor ;)
>>
>> -Steve
> 
> Heh, now I get it too. Good one :)

Now me too:) But let's stay on the path:

private void foo();
public alias foo goo;

We gotta do something about this WTF. Either goo should be perfectly usable 
or the compiler shouldn't allow visibility expanding aliases. Which'd you 
pick?


Tomek


More information about the Digitalmars-d mailing list