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,11 @@
open class A(n: Int) {
}
class <caret>B(
// INFO: {"checked": "true", "toAbstract": "true"}
val s: String,
// INFO: {"checked": "true", "toAbstract": "true"}
val b: Boolean,
val i: Int
) : A(1)