Pull Up/Extract Super: Support properties declared in the primary constructor
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
abstract class A(n: Int) {
|
||||
abstract val s: String
|
||||
abstract val b: Boolean
|
||||
|
||||
}
|
||||
|
||||
class B(
|
||||
// INFO: {"checked": "true", "toAbstract": "true"}
|
||||
override val s: String,
|
||||
// INFO: {"checked": "true", "toAbstract": "true"}
|
||||
override val b: Boolean,
|
||||
val i: Int
|
||||
) : A(1)
|
||||
Reference in New Issue
Block a user