Files
kotlin-fork/compiler/testData/codegen/regressions/kt944.kt
T
2012-01-10 09:33:54 +02:00

8 lines
150 B
Kotlin

fun box() : String {
for (i in "".indices) {
""[i]
}
return "OK"
}
val String?.indices : IntRange get() = IntRange(0, this.sure().length)