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,9 @@
// "Move to constructor parameters" "true"
// SHOULD_FAIL_WITH: Duplicating parameter 'n'
open class A(n: Int) {
<caret>val n: Int
}
fun test() {
val a = A(0)
}