FIR resolve: properly count used arguments in overload conflict resolver
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b4019b0cc1
commit
fa135bbab0
+1
-1
@@ -73,7 +73,7 @@ class ConeOverloadConflictResolver(
|
|||||||
return FlatSignature(
|
return FlatSignature(
|
||||||
call,
|
call,
|
||||||
function.typeParameters.map { it.symbol },
|
function.typeParameters.map { it.symbol },
|
||||||
function.valueParameters.map { it.returnTypeRef.coneTypeUnsafe() },
|
call.argumentMapping!!.map { it.value.returnTypeRef.coneTypeUnsafe() },
|
||||||
function.receiverTypeRef != null,
|
function.receiverTypeRef != null,
|
||||||
function.valueParameters.any { it.isVararg },
|
function.valueParameters.any { it.isVararg },
|
||||||
function.valueParameters.count { it.defaultValue != null },
|
function.valueParameters.count { it.defaultValue != null },
|
||||||
|
|||||||
Reference in New Issue
Block a user