Mengingat contoh berikut: trait Supe { type Out <: Supe def out: Out } class Reif1 extends Supe { type Out = Reif1 override def out: Out = this } class Reif2 extends Supe { type Out >: this.type <: Reif2 override def out: Out = this } class Reif1 jelas harus berfungsi. karena type....
4 September 2020, 20:25