classA{classCextendsAnyRef{// TODO NEEDS MANUAL CHANGE (early initializers)// BEGIN copied early initializersvalx:A=this// END copied early initializers}}classB(x:Int)classD{classC(x:Int)extendsB({valtest:D=this;x}){defthis()={this({valtest:D=this;1})}}}