Quick Fixes: Implement 'Move to constructor parameters' quick-fix

#KT-6604 In Progress
This commit is contained in:
Alexey Sedunov
2015-11-12 16:25:15 +03:00
parent f66af7bdd4
commit 138370ce5b
19 changed files with 319 additions and 9 deletions
@@ -0,0 +1,12 @@
// "Move to constructor parameters" "true"
open class A(s: String) {
<caret>val n: Int
constructor(a: Int): this("")
}
class B : A("")
fun test() {
val a = A("")
}