Pull Up/Extract Super: Support properties declared in the primary constructor

This commit is contained in:
Alexey Sedunov
2016-09-20 15:12:13 +03:00
parent 3aedf0d79f
commit 982d4d4ead
38 changed files with 378 additions and 47 deletions
@@ -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)