Property types supported in smart completion without "::"

This commit is contained in:
Valentin Kipyatkov
2015-10-02 12:44:04 +03:00
parent aaf507121f
commit b0d31fc86d
4 changed files with 32 additions and 5 deletions
@@ -0,0 +1,16 @@
import kotlin.reflect.KProperty
fun foo(property: KProperty<Int>) {
}
fun bar() {
foo(<caret>)
}
val vInt = 0
val vString = ""
fun fInt() = 0
// EXIST: { lookupString: "::vInt", itemText: "::vInt", tailText: " (<root>)", typeText: "Int" }
// ABSENT: ::vString
// ABSENT: ::fInt