Files
kotlin-fork/idea/idea-completion/testData/basic/common/shadowing/PreferMoreSpecificExtension.kt
T
2015-06-15 18:27:21 +03:00

20 lines
379 B
Kotlin
Vendored

package ppp
interface I
class C : I {
fun foo() {
xx<caret>
}
}
val Any.xxx: Int get() = 1
val I.xxx: Int get() = 1
fun Any.xxx() = 1
fun C.xxx() = 1
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: " for I in ppp", typeText: "Int" }
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for C in ppp", typeText: "Int" }
// NOTHING_ELSE