Initial implementation of KT-4046 Support 'Create constructor matching superclass'

#KT-4046 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-05-08 19:49:40 +03:00
parent 734b502ad6
commit 00dcbd4d93
25 changed files with 308 additions and 34 deletions
@@ -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>