mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
251 B
Kotlin
12 lines
251 B
Kotlin
// "Change to 'var'" "true"
|
|
fun exec(f: () -> Unit) = f()
|
|
|
|
fun foo() {
|
|
val x: Int
|
|
exec {
|
|
<caret>x = 42
|
|
}
|
|
}
|
|
|
|
/* IGNORE_K2 */
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.ChangeVariableMutabilityFix |