Smart completion after == and !=

#KT-4912 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-04-23 23:47:05 +04:00
parent 74da6929a6
commit 5f931be39b
5 changed files with 71 additions and 12 deletions
@@ -0,0 +1,14 @@
enum class E {
A
B
}
fun f(e1: E, e2: E?, x: Any) {
if (e1 != <caret>
}
// EXIST: E.A
// EXIST: E.B
// EXIST: e2
// ABSENT: e1
// ABSENT: x