Files
kotlin-fork/j2k/tests/testData/ast/for/forThroughNonArrayIndices.kt
T

11 lines
160 B
Kotlin

class X {
public var length: Int = 5
}
class C {
fun foo(x: X) {
for (i in 0..x.length - 1) {
System.out.print(i)
}
}
}