mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
13 lines
326 B
Kotlin
13 lines
326 B
Kotlin
// "Convert to block body" "true"
|
|
fun foo(): Int = when {
|
|
true -> {
|
|
if (true) <caret>return 1
|
|
bar()
|
|
2
|
|
}
|
|
else -> 3
|
|
}
|
|
|
|
fun bar() {}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToBlockBodyFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ConvertToBlockBodyFix |