Files
kotlin-fork/idea/idea-completion/testData/basic/common/shadowing/PreferCloserReceiverGeneric.kt
T

15 lines
253 B
Kotlin
Vendored

interface I<T> {
fun xxx(): T
}
fun foo(i1: I<Int>, i2: I<String>) {
with (i1) {
with (i2) {
xx<caret>
}
}
}
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "()", typeText: "String" }
// NOTHING_ELSE