From 1a1375240b0d79dad6b3af3ebcc3982397ec50c4 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Mon, 28 Jan 2019 17:59:43 +0300 Subject: [PATCH] Minor: reformat `PSICallResolver` according to codestyle --- .../jetbrains/kotlin/resolve/calls/tower/PSICallResolver.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tower/PSICallResolver.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tower/PSICallResolver.kt index 4bbbb9ce2e4..38aafcf8458 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tower/PSICallResolver.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tower/PSICallResolver.kt @@ -447,7 +447,7 @@ class PSICallResolver( private fun createReceiverValueWithSmartCastInfo(variable: KotlinResolutionCandidate): ReceiverValueWithSmartCastInfo { val callForVariable = variable.resolvedCall.atom as PSIKotlinCallForVariable val calleeExpression = callForVariable.baseCall.psiCall.calleeExpression as? KtReferenceExpression - ?: error("Unexpected call : ${callForVariable.baseCall.psiCall}") + ?: error("Unexpected call : ${callForVariable.baseCall.psiCall}") val temporaryTrace = TemporaryBindingTrace.create(context.trace, "Context for resolve candidate") @@ -562,7 +562,7 @@ class PSICallResolver( val bindingContext = context.trace.bindingContext val call = bindingContext[BindingContext.DELEGATE_EXPRESSION_TO_PROVIDE_DELEGATE_CALL, ktExpression] - ?: ktExpression?.getCall(bindingContext) + ?: ktExpression?.getCall(bindingContext) val onlyResolvedCall = call?.let { bindingContext.get(BindingContext.ONLY_RESOLVED_CALL, it) @@ -589,7 +589,7 @@ class PSICallResolver( ModifierCheckerCore.check(projection, context.trace, null, languageVersionSettings) resolveType(context, projection.typeReference, typeResolver)?.let { SimpleTypeArgumentImpl(projection.typeReference!!, it) } - ?: TypeArgumentPlaceholder + ?: TypeArgumentPlaceholder } private fun resolveArgumentsInParenthesis(