More efficient code completion + fixed a few bugs

This commit is contained in:
Valentin Kipyatkov
2014-11-02 14:32:10 +03:00
parent f31832dea9
commit fe5dbbf9b3
21 changed files with 166 additions and 74 deletions
@@ -0,0 +1,19 @@
import kotlin.platform.platformName
class C(i: Int){
class Nested
inner class Inner
fun bar() {
foo(<caret>)
}
}
platformName("foo1")
fun foo(p: () -> C.Nested){}
platformName("foo2")
fun foo(p: () -> C.Inner){}
// EXIST: ::Nested
// ABSENT: ::Inner