julian
12/06/2020, 5:33 PMinterface A {
val na: Int
}
class B {
val <T: A> T.nb: Int by lazy {
<http://this.na|this.na> // !!! I want to reference T/A here, not B.
}
}
I want to reference T : A
but the compiler won't let me. this
-s type is B
. Is there another way?julian
12/06/2020, 5:39 PMNir
12/06/2020, 6:08 PMNir
12/06/2020, 6:08 PMNir
12/06/2020, 6:08 PMadamratzman
12/06/2020, 6:28 PM