Add multi file test for completion of enum entry

This commit is contained in:
Pavel V. Talanov
2014-04-14 19:49:23 +04:00
parent 4c39886edc
commit 8354233f85
3 changed files with 21 additions and 0 deletions
@@ -0,0 +1,8 @@
package test
enum class EnumTest(val i: Int = 0) {
ENTRY1: EnumTest()
ENTRY2: EnumTest(1)
}
class EAnotherClass
@@ -0,0 +1,8 @@
package test
fun main(args: Array<String>) {
EnumTest.E<caret>
}
// EXIST: ENTRY1, ENTRY2
// ABSENT: EnumTest, EAnotherClass