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
|
||||
preprocessCallableReference(argument, expectedType)
|
||||
// NB: FirCallableReferenceAccess should be checked earlier
|
||||
is FirQualifiedAccessExpression -> resolvePlainExpressionArgument(
|
||||
csBuilder,
|
||||
argument,
|
||||
expectedType,
|
||||
sink,
|
||||
isReceiver,
|
||||
isDispatch,
|
||||
isSafeCall
|
||||
)
|
||||
// TODO:!
|
||||
is FirAnonymousFunction -> preprocessLambdaArgument(csBuilder, argument, expectedType, expectedTypeRef)
|
||||
// TODO:!
|
||||
@@ -359,4 +349,4 @@ fun FirTypeRef.isExtensionFunctionType(session: FirSession): Boolean {
|
||||
if (typeAlias.expandedTypeRef.annotations.any(FirAnnotationCall::isExtensionFunctionAnnotationCall)) return true
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user