1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
extends InnerA func test(): super.test() class InnerA extends InnerAB: func test(): print("InnerA.test") super.test() class InnerAB extends InnerB: func test(): print("InnerA.InnerAB.test") super.test() class InnerB: func test(): print("InnerB.test")