KT-5145 has been resolved but KT-9606 exists

This commit is contained in:
Valentin Kipyatkov
2015-10-15 19:02:43 +03:00
parent a83539705e
commit 36b3b16cb5
@@ -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()