blob: df08c8f0047cbd39100422b832fcf7a675852fde [file]
// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-41198, KT-59860
fun test() {
val b: Int
run { b = 1 }<!UNNECESSARY_SAFE_CALL!>?.<!>let {}
<!UNINITIALIZED_VARIABLE!>b<!>.inc()
}
/* GENERATED_FIR_TAGS: assignment, functionDeclaration, integerLiteral, lambdaLiteral, localProperty, nullableType,
propertyDeclaration, safeCall */