Minor. Rename isAnonymousFunction to isFunctionExpression
This commit is contained in:
committed by
teamcityserver
parent
c0a46eaefd
commit
61fe70b600
+1
-1
@@ -81,7 +81,7 @@ object ConeConstraintSystemUtilContext : ConstraintSystemUtilContext {
|
||||
private fun FirAnonymousFunction.collectDeclaredValueParameterTypes(): List<ConeKotlinType?> =
|
||||
valueParameters.map { it.returnTypeRef.coneTypeSafe() }
|
||||
|
||||
override fun PostponedAtomWithRevisableExpectedType.isAnonymousFunction(): Boolean {
|
||||
override fun PostponedAtomWithRevisableExpectedType.isFunctionExpression(): Boolean {
|
||||
require(this is PostponedResolvedAtom)
|
||||
return this is LambdaWithTypeVariableAsExpectedTypeAtom && !this.atom.anonymousFunction.isLambda
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user