blob: ea929579f0fef74e0a340330c68d6f4082b4629f [file] [log] [blame]
// "Lift assignment out of 'try' expression" "true"
// WITH_RUNTIME
fun foo() {
val x: Int
try {
x = 1
}
catch (e: Exception) {
<caret>x = 2
}
finally {}
}