Find Usages: Support of secondary constructors and delegation calls
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
open class B {
|
||||
constructor(): this("") {
|
||||
|
||||
}
|
||||
|
||||
constructor(s: String) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
open class A : B {
|
||||
constructor(a: Int) : super("") {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class C : B("") {
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
B("")
|
||||
}
|
||||
Reference in New Issue
Block a user