Changed highlighting range and attributes of useless elvis operator
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove elvis operator" "true"
|
||||
fun foo(a: String) {
|
||||
val b : String = <caret>a ?: "s"
|
||||
val b : String = a <caret>?: "s"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Remove elvis operator" "true"
|
||||
fun foo(a: String) {
|
||||
val b : String = <caret>a
|
||||
val b : String = a<caret>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user