blob: 5c8f78123cf17f589f7d9c6d3509fbcf8e400b6f [file]
// RUN_PIPELINE_TILL: CODEGEN
fun foo(x: Int?) {
// Both parts of the Elvis should be alive, see KT-7936
x?.let {
smth()
}?: orElse()
}
fun smth() {}
fun orElse() {}
/* GENERATED_FIR_TAGS: elvisExpression, functionDeclaration, lambdaLiteral, nullableType, safeCall */