Move: Fix processing of callable references to nested Kotlin classes

#KT-17827 In Progress
This commit is contained in:
Alexey Sedunov
2018-02-13 15:54:41 +03:00
parent bdfc814389
commit 441f88c144
16 changed files with 121 additions and 8 deletions
@@ -209,6 +209,7 @@ class KtSimpleNameReference(expression: KtSimpleNameExpression) : KtSimpleRefere
parent is KtCallableReferenceExpression && parent.callableReference == this -> {
parentDelimiter = ""
val callableRefCopy = parent.copied()
callableRefCopy.receiverExpression?.delete()
callableRefCopy.callableReference.replace(psiFactory.createSimpleName(shortName)).parent!!.text
}
else -> shortName