Files
kotlin-fork/idea/testData/completion/basic/common/InSecondaryConstructorFirstDefaultParameter.kt
T
Denis Zharkov 50c8c6f68b Basic completion within secondary constructors
body and delegation call
2015-03-11 17:45:26 +03:00

14 lines
252 B
Kotlin

fun topLevel() = 1
class A(val prop: Int, arg: Int) {
val another = 1
constructor(abc: Int, x: Int = <caret>): this(1, 1) {
val local = 1
}
fun foo() = 1
}
// EXIST: abc, topLevel, x
// ABSENT: arg, local, prop, another, foo