From 36b3b16cb5ba084a232f43b3eb36127cf37d2ee4 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Thu, 15 Oct 2015 19:02:43 +0300 Subject: [PATCH] KT-5145 has been resolved but KT-9606 exists --- .../idea/completion/handlers/KotlinClassifierInsertHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinClassifierInsertHandler.kt b/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinClassifierInsertHandler.kt index 457d923fa5b..7b14cdccbd4 100644 --- a/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinClassifierInsertHandler.kt +++ b/idea/idea-completion/src/org/jetbrains/kotlin/idea/completion/handlers/KotlinClassifierInsertHandler.kt @@ -69,7 +69,7 @@ object KotlinClassifierInsertHandler : BaseDeclarationInsertHandler() { else { "$;val v:" // if we have no reference in the current context we have a more complicated prefix to get one } - val tempSuffix = ".xxx" // we add "xxx" after dot because of some bugs in resolve (see KT-5145) + val tempSuffix = ".xxx" // we add "xxx" after dot because of KT-9606 document.replaceString(startOffset, context.getTailOffset(), tempPrefix + qualifiedName + tempSuffix) psiDocumentManager.commitAllDocuments()