Files
kotlin-fork/idea/testData/completion/smart/WhenEntryValue8.kt
T
2014-07-28 18:52:57 +04:00

13 lines
208 B
Kotlin

import java.lang.annotation.ElementType
fun foo(e: ElementType) {
when(e) {
ElementType.FIELD -> x()
<caret>
}
}
// ABSENT: ElementType.FIELD
// EXIST: ElementType.TYPE
// ABSENT: e