blob: 12363b51ad937e24bc389c9adb07d973e4a5d7bc [file] [log] [blame]
// "class org.jetbrains.kotlin.idea.quickfix.LiftAssignmentOutOfTryFix" "false"
// ACTION: Make variable mutable
// ERROR: Val cannot be reassigned
// ERROR: Val cannot be reassigned
// WITH_RUNTIME
fun foo() {
val x = 1
try {
val x = 2
x = 3
}
catch(e: Exception) {
<caret>x = 4
}
}