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,10 +1,10 @@
fun test() {
when (val a = 42) {
when<caret> (val a = 42) {
else -> {
use("")
foo()
}
}<caret>
}
}
fun use(s: String) {}