24 lines
429 B
Kotlin
Vendored
24 lines
429 B
Kotlin
Vendored
interface Base {
|
|
fun inBase()
|
|
}
|
|
|
|
interface I1 : Base {
|
|
fun inI1()
|
|
}
|
|
|
|
interface I2 : I1 {
|
|
fun inI2()
|
|
}
|
|
|
|
fun foo(i1: I1, i2: I2) {
|
|
with(i1) {
|
|
with(i2) {
|
|
<caret>
|
|
}
|
|
}
|
|
}
|
|
// EXIST: { lookupString: "inI1", attributes: "bold" }
|
|
// EXIST: { lookupString: "inI2", attributes: "bold" }
|
|
// EXIST: { lookupString: "inBase", attributes: "" }
|
|
// EXIST: { lookupString: "equals", attributes: "" }
|