Minor. Reformat ConeKotlinType::isBuiltinFunctionalType
This commit is contained in:
+4
-5
@@ -43,11 +43,10 @@ fun preprocessLambdaArgument(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private val ConeKotlinType.isBuiltinFunctionalType: Boolean
|
val ConeKotlinType.isBuiltinFunctionalType: Boolean
|
||||||
get () {
|
get() {
|
||||||
val type = this
|
return when (this) {
|
||||||
return when (type) {
|
is ConeClassType -> this.lookupTag.classId.asString().startsWith("kotlin/Function")
|
||||||
is ConeClassType -> type.lookupTag.classId.asString().startsWith("kotlin/Function")
|
|
||||||
else -> false
|
else -> false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user