Files
kotlin-fork/idea/idea-completion/testData/smart/forLoopRange/ExtensionIteratorMethod.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

15 lines
155 B
Kotlin
Vendored

trait X
trait Y
fun X.iterator(): Y
fun Y.next(): Int
fun Y.hasNext(): Boolean
fun foo(x: X, y: Y) {
for (i in <caret>)
}
// EXIST: x
// ABSENT: y