Fix exception of rename readonly overridden methods
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
package testing.rename
|
||||
|
||||
interface A : Runnable {
|
||||
override fun run() {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
|
||||
public open class B: A {
|
||||
fun lol() {
|
||||
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package testing.rename
|
||||
|
||||
interface A : Runnable {
|
||||
override fun run() {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
|
||||
public open class B: A {
|
||||
override fun run() {
|
||||
|
||||
}
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "KOTLIN_FUNCTION",
|
||||
"classId": "testing/rename/B",
|
||||
"oldName": "run",
|
||||
"newName": "lol",
|
||||
"comment": "Rename method with binary function overridden"
|
||||
}
|
||||
Reference in New Issue
Block a user