Only when keyword should be highlighted in WhenWithOnlyElseInspection
#KT-31673 Fixed
This commit is contained in:
Vendored
+2
-2
@@ -1,10 +1,10 @@
|
||||
fun test() {
|
||||
when (val a = create()) {
|
||||
when<caret> (val a = create()) {
|
||||
else -> {
|
||||
use(a)
|
||||
foo()
|
||||
}
|
||||
}<caret>
|
||||
}
|
||||
}
|
||||
|
||||
fun create(): String = ""
|
||||
|
||||
Reference in New Issue
Block a user