summaryrefslogtreecommitdiff
path: root/plugins/kotlin/completion/tests/testData/basic/common/shadowing/PreferCloserReceiverGeneric.kt
blob: 438214c1fcb722b5660ecdfead739c16b2390400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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", icon: "nodes/abstractMethod.svg"}
// NOTHING_ELSE