Wrong position of type hint while renaming Kotlin variable

#KT-19558 fixed
This commit is contained in:
Max Medvedev
2019-01-18 10:17:49 +03:00
parent a9362d844a
commit 9b0b3971e4
@@ -115,7 +115,7 @@ fun provideTypeHint(element: KtCallableDeclaration, offset: Int): List<InlayInfo
}
append(getInlayHintsTypeRenderer(element.analyze(), element).renderType(type))
}
listOf(InlayInfo(declString, offset))
listOf(InlayInfo(declString, offset, false, true, true))
} else {
emptyList()
}