digitalmars.D.bugs - Auto generated ctor can be made private
- David Friedman (12/12) Nov 15 2004 shinichiro.h posted this on D.gnu. With the changes in 0.106, it also
shinichiro.h posted this on D.gnu. With the changes in 0.106, it also
affects DMD.
Module A:
module a;
class A { this() { } }
class B : A { private: }
Module B:
import a;
void x() { new B; }
Compiling module B yields:
b.d:2: class a.B member this is not accessible
David
Nov 15 2004








David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net>