Fix exception of rename readonly overridden methods

This commit is contained in:
Igor Yakovlev
2019-12-27 23:04:16 +03:00
parent 3a2704d956
commit 0c4134470d
7 changed files with 52 additions and 7 deletions
@@ -0,0 +1,13 @@
package testing.rename
interface A : Runnable {
override fun run() {
TODO("Not yet implemented")
}
}
public open class B: A {
fun lol() {
}
}
@@ -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() {
}
}
@@ -0,0 +1,7 @@
{
"type": "KOTLIN_FUNCTION",
"classId": "testing/rename/B",
"oldName": "run",
"newName": "lol",
"comment": "Rename method with binary function overridden"
}