Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createSecondaryConstructor/noneApplicable.kt.after
T
2016-04-19 20:27:39 +03:00

13 lines
263 B
Plaintext
Vendored

// "Create secondary constructor" "true"
// ERROR: Primary constructor call expected
class CtorSecondary() {
constructor(p: Int) : this()
constructor<caret>(i: Int, i1: Int)
}
fun construct() {
// todo: add this()
val vA = CtorSecondary(2, 3)
}