mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
#KTIJ-1040 Fixed GitOrigin-RevId: 118ecc75fb885f7a78c194cc1342d880afe34856
7 lines
153 B
Plaintext
7 lines
153 B
Plaintext
val test = block@{ i: Int, s: String ->
|
|
if (i == 42) return@block s
|
|
|
|
if (s == "test") "$s" else "$i"
|
|
}
|
|
|
|
inline fun a(block: () -> Unit) = block() |