10 lines
126 B
Kotlin
Vendored
10 lines
126 B
Kotlin
Vendored
fun test() {
|
|
val x = intArrayOf(1, 2, 3)
|
|
x[1] = 0
|
|
}
|
|
|
|
fun foo() = 1
|
|
|
|
fun test2() {
|
|
intArrayOf(1, 2, 3)[foo()] = 1
|
|
} |