Minor, rename property according to the style

This commit is contained in:
Mikhail Zarechenskiy
2018-04-19 18:17:25 +03:00
parent f039ec3625
commit 1e7682afc0
@@ -62,7 +62,7 @@ class PSICallResolver(
private val constantExpressionEvaluator: ConstantExpressionEvaluator, private val constantExpressionEvaluator: ConstantExpressionEvaluator,
private val dataFlowValueFactory: DataFlowValueFactory private val dataFlowValueFactory: DataFlowValueFactory
) { ) {
private val GIVEN_CANDIDATES_NAME = Name.special("<given candidates>") private val givenCandidatesName = Name.special("<given candidates>")
val defaultResolutionKinds = setOf( val defaultResolutionKinds = setOf(
NewResolutionOldInference.ResolutionKind.Function, NewResolutionOldInference.ResolutionKind.Function,
@@ -110,7 +110,7 @@ class PSICallResolver(
val dispatchReceiver = resolutionCandidates.firstNotNullResult { it.dispatchReceiver } val dispatchReceiver = resolutionCandidates.firstNotNullResult { it.dispatchReceiver }
val kotlinCall = val kotlinCall =
toKotlinCall(context, KotlinCallKind.FUNCTION, context.call, GIVEN_CANDIDATES_NAME, tracingStrategy, dispatchReceiver) toKotlinCall(context, KotlinCallKind.FUNCTION, context.call, givenCandidatesName, tracingStrategy, dispatchReceiver)
val scopeTower = ASTScopeTower(context) val scopeTower = ASTScopeTower(context)
val resolutionCallbacks = createResolutionCallbacks(context) val resolutionCallbacks = createResolutionCallbacks(context)