654411a0b0
Some moved to tests with stdlib Some changed to use arrayOfNulls
9 lines
144 B
Kotlin
9 lines
144 B
Kotlin
class A() {
|
|
class B(val i: Int) {
|
|
}
|
|
|
|
fun test() = Array<B> (10, { B(it) })
|
|
}
|
|
|
|
fun box() = if(A().test()[5].i == 5) "OK" else "fail"
|