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