Initial implementation of loop-to-call-chain intention
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo(list: List<String>, it: Int) {
|
||||
var found = false
|
||||
<caret>for (s in list) {
|
||||
if (s.length > it) {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user