mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
#KTIJ-1040 Fixed GitOrigin-RevId: 118ecc75fb885f7a78c194cc1342d880afe34856
11 lines
239 B
Kotlin
11 lines
239 B
Kotlin
inline fun a(block: () -> String) = block()
|
|
|
|
val test = <caret>fun(i: Int, s: String): String {
|
|
if (i == 42) return s
|
|
a block@{
|
|
a block1@{
|
|
return "42"
|
|
}
|
|
}
|
|
return if (s == "test") "$s" else "$i"
|
|
} |