4be1cc2786
#KT-5079 Fixed
12 lines
195 B
Kotlin
12 lines
195 B
Kotlin
import java.lang.annotation.ElementType
|
|
|
|
fun foo(e: ElementType) {
|
|
when(e) {
|
|
ElementType.FIELD -> x()
|
|
<caret>
|
|
}
|
|
}
|
|
|
|
// ABSENT: ElementType.FIELD
|
|
// EXIST: ElementType.TYPE
|