Support class rename in place of secondary ctor call

This commit is contained in:
Denis Zharkov
2015-03-13 11:33:20 +03:00
committed by Alexey Sedunov
parent 4b564fcc51
commit 25de64c6ab
6 changed files with 40 additions and 2 deletions
@@ -0,0 +1,10 @@
open class TestX {
constructor(x: Int) {}
}
class Y1 : TestX(1)
class Y2 : TestX {
constructor(): super(1) {}
}
val x = TestX(1)
@@ -0,0 +1,10 @@
open class X {
constructor(x: Int) {}
}
class Y1 : X(1)
class Y2 : X {
constructor(): super(1) {}
}
val x = X(1)
@@ -0,0 +1,5 @@
{
"type": "KOTLIN_CLASS",
"classId": "/X",
"newName": "TestX"
}