More usable caret position
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
// INTENTION_TEXT: "Replace with 'any{}'"
|
||||
fun foo(list: List<String>) {
|
||||
<caret>val result = if (list.any { it.length > 0 }) 1 else 0
|
||||
val <caret>result = if (list.any { it.length > 0 }) 1 else 0
|
||||
}
|
||||
Reference in New Issue
Block a user