Basic completion within secondary constructors

body and delegation call
This commit is contained in:
Denis Zharkov
2015-02-13 13:05:20 +03:00
parent 7d963e8e07
commit 50c8c6f68b
9 changed files with 130 additions and 8 deletions
@@ -0,0 +1,13 @@
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