Support class rename in place of secondary ctor call
This commit is contained in:
committed by
Alexey Sedunov
parent
4b564fcc51
commit
25de64c6ab
+10
@@ -0,0 +1,10 @@
|
||||
open class TestX {
|
||||
constructor(x: Int) {}
|
||||
}
|
||||
|
||||
class Y1 : TestX(1)
|
||||
class Y2 : TestX {
|
||||
constructor(): super(1) {}
|
||||
}
|
||||
|
||||
val x = TestX(1)
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
open class X {
|
||||
constructor(x: Int) {}
|
||||
}
|
||||
|
||||
class Y1 : X(1)
|
||||
class Y2 : X {
|
||||
constructor(): super(1) {}
|
||||
}
|
||||
|
||||
val x = X(1)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "KOTLIN_CLASS",
|
||||
"classId": "/X",
|
||||
"newName": "TestX"
|
||||
}
|
||||
Reference in New Issue
Block a user