Quick Fixes: Implement 'Move to constructor parameters' quick-fix
#KT-6604 In Progress
This commit is contained in:
Vendored
+11
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user