654411a0b0
Some moved to tests with stdlib Some changed to use arrayOfNulls
4 lines
119 B
Kotlin
4 lines
119 B
Kotlin
val <T> Array<T>.length : Int get() = this.size()
|
|
|
|
fun box() = if(arrayOfNulls<Int>(10).length == 10) "OK" else "fail"
|