Files
kotlin-fork/idea/idea-completion/testData/smart/EnumMembers.kt
T
2016-04-05 19:33:02 +03:00

16 lines
321 B
Kotlin
Vendored

package sample
enum class Foo {
X, Y;
fun foo(): Foo = this
}
fun foo(){
val f : Foo = <caret>
}
// EXIST: { lookupString:"X", itemText:"Foo.X", tailText:" (sample)", typeText:"Foo" }
// EXIST: { lookupString:"Y", itemText:"Foo.Y", tailText:" (sample)", typeText:"Foo" }
// ABSENT: { itemText:"Foo.foo" }