73799e2c3c
It's done with similar constructions where possible trying to preserve intended behavior. Some usages are removed because they test exactly the feature that we are going to drop soon.
9 lines
123 B
Kotlin
Vendored
9 lines
123 B
Kotlin
Vendored
fun foo() {
|
|
val a = 1
|
|
val f = { x: Int ->
|
|
val y = x + a
|
|
use(a)
|
|
}
|
|
}
|
|
|
|
fun use(vararg a: Any?) = a |