Rename: Allow renaming class by constructor delegation call referencing primary constructor
#KT-8860 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
class Bar constructor(p: Int) {
|
||||
constructor(p: Int) : this(p + 1)
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
class Foo constructor(p: Int) {
|
||||
constructor(p: Int) : /*rename*/this(p + 1)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "test.kt",
|
||||
"newName": "Bar"
|
||||
}
|
||||
Reference in New Issue
Block a user