Refactoring: rename CheckArguments -> CheckArgumentsInParenthesis
This commit is contained in:
+1
-1
@@ -346,7 +346,7 @@ internal object CheckReceivers : ResolutionPart() {
|
|||||||
override fun KotlinResolutionCandidate.workCount() = 2
|
override fun KotlinResolutionCandidate.workCount() = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
internal object CheckArguments : ResolutionPart() {
|
internal object CheckArgumentsInParenthesis : ResolutionPart() {
|
||||||
override fun KotlinResolutionCandidate.process(workIndex: Int) {
|
override fun KotlinResolutionCandidate.process(workIndex: Int) {
|
||||||
val argument = kotlinCall.argumentsInParenthesis[workIndex]
|
val argument = kotlinCall.argumentsInParenthesis[workIndex]
|
||||||
resolveKotlinArgument(argument, resolvedCall.argumentToCandidateParameter[argument], isReceiver = false)
|
resolveKotlinArgument(argument, resolvedCall.argumentToCandidateParameter[argument], isReceiver = false)
|
||||||
|
|||||||
+1
-1
@@ -208,7 +208,7 @@ enum class KotlinCallKind(vararg resolutionPart: ResolutionPart) {
|
|||||||
CreateFreshVariablesSubstitutor,
|
CreateFreshVariablesSubstitutor,
|
||||||
CheckExplicitReceiverKindConsistency,
|
CheckExplicitReceiverKindConsistency,
|
||||||
CheckReceivers,
|
CheckReceivers,
|
||||||
CheckArguments,
|
CheckArgumentsInParenthesis,
|
||||||
CheckExternalArgument,
|
CheckExternalArgument,
|
||||||
PostponedVariablesInitializerResolutionPart
|
PostponedVariablesInitializerResolutionPart
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user