Rename: Do not search text occurrences of local declarations

#KT-23838 Fixed
This commit is contained in:
Alexey Sedunov
2018-04-17 20:21:28 +03:00
parent f8111c9f23
commit 4e3c1e9f56
5 changed files with 28 additions and 0 deletions
@@ -174,6 +174,10 @@ class InplaceRenameTest : LightPlatformCodeInsightTestCase() {
doTestMemberInplaceRename("`object`")
}
fun testNoTextUsagesForLocalVar() {
doTestMemberInplaceRename("w")
}
private fun doTestImplicitLambdaParameter(newName: String) {
configureByFile(getTestName(false) + ".kt")