Rename: Fix processing of functions without light methods
#KT-22461 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@file:JvmMultifileClass()
|
||||
@file:JvmName("Bazz")
|
||||
package test
|
||||
|
||||
private fun bar() { }
|
||||
|
||||
fun test() {
|
||||
bar()
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
@file:JvmMultifileClass()
|
||||
@file:JvmName("Bazz")
|
||||
package test
|
||||
|
||||
private fun /*rename*/foo() { }
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "test.kt",
|
||||
"newName": "bar"
|
||||
}
|
||||
Reference in New Issue
Block a user