More usable caret position

This commit is contained in:
Valentin Kipyatkov
2016-04-20 16:44:33 +03:00
parent db53794663
commit 345f2b8a52
32 changed files with 40 additions and 32 deletions
@@ -1,5 +1,5 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'any{}'"
fun foo(list: List<String>, it: Int) {
<caret>val found = list.any { s -> s.length > it }
val <caret>found = list.any { s -> s.length > it }
}