mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
249 B
Kotlin
12 lines
249 B
Kotlin
<info descr="null">fun</info> f(a: Int): Int {
|
|
if (a < 5) {
|
|
run {
|
|
<info descr="null">~return 1</info>
|
|
}
|
|
}
|
|
else {
|
|
<info descr="null">return 2</info>
|
|
}
|
|
}
|
|
|
|
inline public fun <T> run(f: () -> T): T { } |