blob: dee660cb7c0a0af1f734b9a065b0de02e6111f1f [file]
// RUN_PIPELINE_TILL: CODEGEN
val x = object {
fun foo(types: List<String>) {
val length = "123"
types.mapIndexed { i, length -> Triple(i, length, length.getFilteredType()) }
}
private fun String.getFilteredType() = bar(length)
}
fun bar(x: Int) = x
/* GENERATED_FIR_TAGS: anonymousObjectExpression, funWithExtensionReceiver, functionDeclaration, lambdaLiteral,
localProperty, propertyDeclaration, stringLiteral */