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,11 @@
// "Move to constructor parameters" "true"
annotation class foo
open class A(s: String, private @foo val /*1*/ n: /* 2 */ Int) {
}
class B : A("", 0)
fun test() {
val a = A("", 0)
}