Smart completion: no "::xxx" items for members and fixed bug with constructors not appearing there

This commit is contained in:
Valentin Kipyatkov
2015-10-02 13:20:33 +03:00
parent b0d31fc86d
commit b23602237a
3 changed files with 40 additions and 16 deletions
@@ -1,5 +1,6 @@
class C {
fun foo(p: C.() -> Unit){}
fun foo(p: C.() -> Any){}
fun foo(p: () -> Any){}
fun bar() {
foo(<caret>)
@@ -7,7 +8,15 @@ class C {
fun f1(){}
fun C.f2(){}
inner class Inner
class Nested
}
// EXIST: ::f1
class Outer
// ABSENT: ::f1
// ABSENT: ::f2
// ABSENT: ::Inner
// EXIST: ::Nested
// EXIST: ::Outer