KT-8208: Support static members completion when receiver not-imported

#KT-8208 fixed
This commit is contained in:
Simon Ogorodnik
2017-06-28 22:22:22 +03:00
parent 16505daeea
commit 33c22b8251
36 changed files with 517 additions and 28 deletions
@@ -0,0 +1,15 @@
package foo
class Bar {
companion object {
fun bfun() {}
val bval = 99
const val bconst = 100
}
class FooBar {
}
}
// ALLOW_AST_ACCESS
@@ -0,0 +1,15 @@
package bar
fun buz() {
Bar.<caret>
}
// EXIST: bconst
// EXIST: bval
// EXIST: Companion
// EXIST: FooBar
// EXIST: bfun
// EXIST: toString
// EXIST: hashCode
// EXIST: equals
// NOTHING_ELSE