Rename: Fix parameter rename when new name matches call selector
#KT-13476 Fixed
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
interface I {
|
||||
fun some()
|
||||
}
|
||||
|
||||
fun f(some: I) {
|
||||
println(some)
|
||||
some.some()
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
interface I {
|
||||
fun some()
|
||||
}
|
||||
|
||||
fun f(/*rename*/o: I) {
|
||||
println(o)
|
||||
o.some()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "test/test.kt",
|
||||
"newName": "some",
|
||||
"withRuntime": "true"
|
||||
}
|
||||
Reference in New Issue
Block a user