mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
8 lines
133 B
Kotlin
8 lines
133 B
Kotlin
// OUT_OF_CODE_BLOCK: FALSE
|
|
fun run(block: () -> Int): Int {
|
|
return block()
|
|
}
|
|
|
|
fun some(): Int = run { 12 + <caret> }
|
|
|
|
// TYPE: 1 |