KT-5079 Support smart completion for when values

#KT-5079 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-05-28 21:52:43 +04:00
parent 1bc8812613
commit 4be1cc2786
19 changed files with 302 additions and 15 deletions
@@ -0,0 +1,7 @@
fun foo(s: String) {
when(s) {
<caret>
}
}
// ELEMENT: else
@@ -0,0 +1,7 @@
fun foo(s: String) {
when(s) {
else -> <caret>
}
}
// ELEMENT: else