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
@@ -0,0 +1,6 @@
fun foo(x: Int) {
val <caret>y = x + 1
val z = y + 1
// y
val s = "y"
}
@@ -0,0 +1,6 @@
fun foo(x: Int) {
val w = x + 1
val z = w + 1
// y
val s = "y"
}