Initial implementation of KT-4046 Support 'Create constructor matching superclass'
#KT-4046 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Add constructor parameters and use them" "true"
|
||||
open class Base private(p1: Int, val p2: Int) {
|
||||
private constructor() : this(0, 1)
|
||||
protected constructor(s: String) : this(s.length(), 1)
|
||||
}
|
||||
|
||||
class C : Base<caret>
|
||||
Reference in New Issue
Block a user