Wrong position of type hint while renaming Kotlin variable
#KT-19558 fixed
This commit is contained in:
@@ -115,7 +115,7 @@ fun provideTypeHint(element: KtCallableDeclaration, offset: Int): List<InlayInfo
|
|||||||
}
|
}
|
||||||
append(getInlayHintsTypeRenderer(element.analyze(), element).renderType(type))
|
append(getInlayHintsTypeRenderer(element.analyze(), element).renderType(type))
|
||||||
}
|
}
|
||||||
listOf(InlayInfo(declString, offset))
|
listOf(InlayInfo(declString, offset, false, true, true))
|
||||||
} else {
|
} else {
|
||||||
emptyList()
|
emptyList()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user