Files
kotlin-fork/idea/idea-completion/testData/smart/propertyDelegate/ValInGenericClass1.kt
T

13 lines
259 B
Kotlin
Vendored

import kotlin.reflect.KProperty
class X<T>(t: T) {
operator fun getValue(thisRef: C<T>, property: KProperty<*>): T = throw Exception()
}
class C<T> {
val property by <caret>
}
// EXIST: lazy
// EXIST: { itemText: "X", tailText: "(t: T) (<root>)" }