16 lines
232 B
Kotlin
Vendored
16 lines
232 B
Kotlin
Vendored
// IGNORE_FIR
|
|
fun test(f: Foo) {
|
|
for(i <caret>in f) {}
|
|
}
|
|
|
|
interface Foo {
|
|
fun iterator(): Iterator
|
|
}
|
|
|
|
interface Iterator {
|
|
fun hasNext(): Boolean
|
|
}
|
|
|
|
// MULTIRESOLVE
|
|
// REF: (in Foo).iterator()
|
|
// REF: (in Iterator).hasNext() |