15 lines
206 B
Kotlin
Vendored
15 lines
206 B
Kotlin
Vendored
fun test(f: Foo) {
|
|
for(i <caret>in f) {}
|
|
}
|
|
|
|
interface Foo {
|
|
operator fun iterator(): Iterator
|
|
}
|
|
|
|
interface Iterator {
|
|
operator fun next(): Any
|
|
operator fun hasNext(): Boolean
|
|
}
|
|
|
|
// MULTIRESOLVE
|