Files
kotlin-fork/idea/idea-completion/testData/smart/whenEntry/6.kt
T
2015-08-10 16:24:19 +03:00

19 lines
228 B
Kotlin
Vendored

enum class E {
A,
B,
C
}
fun foo(e: E?) {
when(e) {
E.A -> x()
<caret>
}
}
// ABSENT: A
// EXIST: B
// EXIST: C
// EXIST: null
// EXIST: {"lookupString":"else","tailText":" ->","itemText":"else"}