//blah1.d class A { private this(){} }
//blah2.d import blah1; class B : A {} $ dmd blah1.d blah2.d -libError: constructor blah1.A.this is not accessible from module blah2
Can someone explain why this can't/doesn't work? Thanks.
John Colvin via Digitalmars-d-learn Tue, 29 Apr 2014 07:02:01 -0700
//blah1.d class A { private this(){} }
//blah2.d import blah1; class B : A {} $ dmd blah1.d blah2.d -libError: constructor blah1.A.this is not accessible from module blah2
Can someone explain why this can't/doesn't work? Thanks.