Rename: Rename do-while loop variables in the loop condition

#KT-14157 Fixed
This commit is contained in:
Alexey Sedunov
2016-10-04 14:22:13 +03:00
parent 140d0b61f1
commit fe711da594
9 changed files with 53 additions and 1 deletions
@@ -0,0 +1,8 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtProperty
// OPTIONS: usages
fun test() {
do {
val <caret>message = "test"
println(message)
} while (message.isEmpty())
}
@@ -0,0 +1,2 @@
Receiver 7 } while (message.isEmpty())
Value read 6 println(message)