Navigation to iterator(), next(), hasNext() through 'in' in for-loops
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
trait Foo
|
||||
fun Foo.iterator(): Iterator
|
||||
|
||||
trait Iterator
|
||||
|
||||
fun Iterator.next(): Any
|
||||
fun Iterator.hasNext(): Boolean
|
||||
|
||||
// MULTIRESOLVE
|
||||
// REF: (for Foo in <root>).iterator()
|
||||
// REF: (for Iterator in <root>).next()
|
||||
// REF: (for Iterator in <root>).hasNext()
|
||||
Reference in New Issue
Block a user