mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
13 lines
300 B
Kotlin
13 lines
300 B
Kotlin
fun foo(body: (Int) -> Unit) = body(1)
|
|
|
|
fun test() {
|
|
foo {
|
|
val x = <info descr="null">~it</info> + 1
|
|
val xx = <info descr="null">it</info> + 2
|
|
foo {
|
|
val y = it - 1
|
|
val yy = it - 2
|
|
}
|
|
val xxx = <info descr="null">it</info> + 3
|
|
}
|
|
} |