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,7 @@
package foo
enum class Color {
RED, GREEN, BLUE
}
// ALLOW_AST_ACCESS
@@ -0,0 +1,12 @@
package bar
fun buz() {
Color.<caret>
}
// EXIST: RED
// EXIST: GREEN
// EXIST: BLUE
// EXIST: values
// EXIST: valueOf
// NOTHING_ELSE