KT-5079 Support smart completion for when values
#KT-5079 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
fun foo(e: ElementType) {
|
||||
when(e) {
|
||||
ElementType.FIELD -> x()
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// ABSENT: ElementType.FIELD
|
||||
// EXIST: ElementType.TYPE
|
||||
Reference in New Issue
Block a user