a.d
module a;
class A
{
private d ( ) { }
}
b.d
module b;
import a;
class B : A
{
void x ( void delegate ( ) dg ) { dg(); }
void f ( )
{
x(&super.d); // Expected to not be allowed to access private method of A
}
}
Comment #1 by dlang-bugzilla — 2017-07-05T20:49:59Z