Files
kotlin-fork/idea/idea-completion/testData/smart/propertyDelegate/GenericOperator.kt
T
2016-04-05 19:33:07 +03:00

11 lines
201 B
Kotlin
Vendored

import kotlin.reflect.KProperty
operator fun <T> List<T>.getValue(thisRef: T, property: KProperty<*>): Int = indexOf(thisRef)
class C {
val property by <caret>
}
// EXIST: lazy
// EXIST: listOf