Rename: Fix parameter rename when new name matches call selector

#KT-13476 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-16 17:17:32 +03:00
parent 5e577c391c
commit f507eed42d
6 changed files with 33 additions and 1 deletions
@@ -0,0 +1,8 @@
interface I {
fun some()
}
fun f(some: I) {
println(some)
some.some()
}
@@ -0,0 +1,8 @@
interface I {
fun some()
}
fun f(/*rename*/o: I) {
println(o)
o.some()
}
@@ -0,0 +1,6 @@
{
"type": "MARKED_ELEMENT",
"mainFile": "test/test.kt",
"newName": "some",
"withRuntime": "true"
}