mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
13 lines
390 B
Plaintext
13 lines
390 B
Plaintext
// "Lift assignment out of 'try' expression" "true"
|
|
// WITH_STDLIB
|
|
|
|
fun foo() {
|
|
val x: Int
|
|
x = try {
|
|
1
|
|
} catch (e: Exception) {
|
|
2
|
|
} finally {}
|
|
}
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.LiftAssignmentOutOfTryFixFactory$LiftAssignmentOutOfTryFix |