diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/PostponedArguments.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/PostponedArguments.kt index 07389b2d66a..6032aa49c46 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/PostponedArguments.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/calls/PostponedArguments.kt @@ -43,11 +43,10 @@ fun preprocessLambdaArgument( } -private val ConeKotlinType.isBuiltinFunctionalType: Boolean - get () { - val type = this - return when (type) { - is ConeClassType -> type.lookupTag.classId.asString().startsWith("kotlin/Function") +val ConeKotlinType.isBuiltinFunctionalType: Boolean + get() { + return when (this) { + is ConeClassType -> this.lookupTag.classId.asString().startsWith("kotlin/Function") else -> false } }