FIR: Minor. Remove when branch that is just the same as "else"
This commit is contained in:
@@ -71,16 +71,6 @@ fun Candidate.resolveArgumentExpression(
|
|||||||
)
|
)
|
||||||
else
|
else
|
||||||
preprocessCallableReference(argument, expectedType)
|
preprocessCallableReference(argument, expectedType)
|
||||||
// NB: FirCallableReferenceAccess should be checked earlier
|
|
||||||
is FirQualifiedAccessExpression -> resolvePlainExpressionArgument(
|
|
||||||
csBuilder,
|
|
||||||
argument,
|
|
||||||
expectedType,
|
|
||||||
sink,
|
|
||||||
isReceiver,
|
|
||||||
isDispatch,
|
|
||||||
isSafeCall
|
|
||||||
)
|
|
||||||
// TODO:!
|
// TODO:!
|
||||||
is FirAnonymousFunction -> preprocessLambdaArgument(csBuilder, argument, expectedType, expectedTypeRef)
|
is FirAnonymousFunction -> preprocessLambdaArgument(csBuilder, argument, expectedType, expectedTypeRef)
|
||||||
// TODO:!
|
// TODO:!
|
||||||
@@ -359,4 +349,4 @@ fun FirTypeRef.isExtensionFunctionType(session: FirSession): Boolean {
|
|||||||
if (typeAlias.expandedTypeRef.annotations.any(FirAnnotationCall::isExtensionFunctionAnnotationCall)) return true
|
if (typeAlias.expandedTypeRef.annotations.any(FirAnnotationCall::isExtensionFunctionAnnotationCall)) return true
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user