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