blob: f3c675a0e1dbf92c7db87ff8dff6094e71b931ff [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
}
}