Only when keyword should be highlighted in WhenWithOnlyElseInspection

#KT-31673 Fixed
This commit is contained in:
Dmitry Gridin
2019-05-29 14:23:43 +07:00
parent e955dcfc14
commit e2d5e9a184
18 changed files with 41 additions and 38 deletions
@@ -1,7 +1,7 @@
fun test() {
when (val a = create()) {
when<caret> (val a = create()) {
else -> use("")
}<caret>
}
}
fun create(): String = ""