blob: ef9e7eda9bebd11406516ae88c2eea7cc95fa538 [file]
// RUN_PIPELINE_TILL: BACKEND
// DUMP_CFG
interface FirBase
interface FirFunctionCall : FirBase
fun foo(statements: List<FirBase>, arguments: List<FirBase>, explicitReceiver: FirBase): List<FirFunctionCall> {
val firstCalls = with(statements.last() as FirFunctionCall) setCall@{
buildList {
add(this@setCall)
with(arguments.last() as FirFunctionCall) plusCall@{
add(this@plusCall)
add(explicitReceiver as FirFunctionCall)
}
}
}
return firstCalls
}
/* GENERATED_FIR_TAGS: asExpression, functionDeclaration, interfaceDeclaration, lambdaLiteral, localProperty,
propertyDeclaration, thisExpression */