Refactoring: rename CheckArguments -> CheckArgumentsInParenthesis

This commit is contained in:
Mikhail Zarechenskiy
2019-01-29 16:06:15 +03:00
parent 6705803d83
commit 738271aba6
2 changed files with 2 additions and 2 deletions
@@ -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)
@@ -208,7 +208,7 @@ enum class KotlinCallKind(vararg resolutionPart: ResolutionPart) {
CreateFreshVariablesSubstitutor, CreateFreshVariablesSubstitutor,
CheckExplicitReceiverKindConsistency, CheckExplicitReceiverKindConsistency,
CheckReceivers, CheckReceivers,
CheckArguments, CheckArgumentsInParenthesis,
CheckExternalArgument, CheckExternalArgument,
PostponedVariablesInitializerResolutionPart PostponedVariablesInitializerResolutionPart
), ),