public aliases to private/package symbols

Sönke Ludwig ludwig at informatik.uni-luebeck.de
Wed Jan 25 01:12:20 PST 2012


Another example would be synchronized classes:

synchronized class X {
	public alias f g;
	private void f(){}
}

Now g() would be a public method that is not protected by the class' 
mutex. This case would have to be explicitly forbidden.


More information about the Digitalmars-d mailing list