mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
15 lines
284 B
Kotlin
15 lines
284 B
Kotlin
fun f(a: Int): Int {
|
|
<info descr="null">fun</info> localFun() {
|
|
if (a > 5) {
|
|
<info descr="null">return</info>
|
|
}
|
|
<info descr="null">~throw Error()</info>
|
|
}
|
|
|
|
if (a < 5) {
|
|
return 1
|
|
}
|
|
else {
|
|
throw Exception()
|
|
}
|
|
} |