[NI] Fix adapting arguments for callable references with receivers
#KT-35912 Fixed
This commit is contained in:
+1
-1
@@ -266,7 +266,7 @@ class CallableReferencesCandidateFactory(
|
||||
val mappedArgument: KotlinType?
|
||||
if (substitutedParameter.isVararg) {
|
||||
val (varargType, newVarargMappingState) = varargParameterTypeByExpectedParameter(
|
||||
inputOutputTypes.inputTypes[index],
|
||||
inputOutputTypes.inputTypes[index + unboundReceiverCount],
|
||||
substitutedParameter,
|
||||
varargMappingState,
|
||||
builtins
|
||||
|
||||
Reference in New Issue
Block a user