Rename: Adapt VariableInplaceRenameHandler to Kotlin
#KT-16510 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class A(val a: B)
|
||||
class B(val b: Int)
|
||||
|
||||
fun x(`is`: A) {
|
||||
val <caret>`in` = `is`.a
|
||||
`in`.b
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A(val a: B)
|
||||
class B(val b: Int)
|
||||
|
||||
fun x(`is`: A) {
|
||||
val x = `is`.a
|
||||
x.b
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A(val a: B)
|
||||
class B(val b: Int)
|
||||
|
||||
fun x(<caret>`is`: A) {
|
||||
val `in` = `is`.a
|
||||
`in`.b
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
class A(val a: B)
|
||||
class B(val b: Int)
|
||||
|
||||
fun x(x: A) {
|
||||
val `in` = x.a
|
||||
`in`.b
|
||||
}
|
||||
Reference in New Issue
Block a user