From 8008185b77b2a527b64d17fec99eaf93458f12ee Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Mon, 10 Feb 2020 11:03:52 +0200 Subject: [PATCH] Renamed mistyping in function name --- idea/src/org/jetbrains/kotlin/idea/slicer/OutflowSlicer.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/slicer/OutflowSlicer.kt b/idea/src/org/jetbrains/kotlin/idea/slicer/OutflowSlicer.kt index 2214259ab3c..d7aaeea8932 100644 --- a/idea/src/org/jetbrains/kotlin/idea/slicer/OutflowSlicer.kt +++ b/idea/src/org/jetbrains/kotlin/idea/slicer/OutflowSlicer.kt @@ -123,7 +123,7 @@ class OutflowSlicer( return if (callee == this) callableRef else null } - private fun processDereferenceIsNeeded( + private fun processDereferenceIfNeeded( expression: KtExpression, pseudoValue: PseudoValue, instr: InstructionWithReceivers @@ -157,8 +157,8 @@ class OutflowSlicer( private fun KtExpression.processDereferences() { processPseudocodeUsages { pseudoValue, instr -> when (instr) { - is ReadValueInstruction -> processDereferenceIsNeeded(this, pseudoValue, instr) - is CallInstruction -> processDereferenceIsNeeded(this, pseudoValue, instr) + is ReadValueInstruction -> processDereferenceIfNeeded(this, pseudoValue, instr) + is CallInstruction -> processDereferenceIfNeeded(this, pseudoValue, instr) } } }