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

12 lines
250 B
Kotlin
Vendored

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