Files
kotlin-fork/compiler/testData/codegen/box/delegation/genericProperty.kt
T

9 lines
137 B
Kotlin
Vendored

interface I {
val <T> T.id: T
get() = this
}
class A(i: I) : I by i
fun box(): String = with(A(object : I {})) { "OK".id }