Option to use 'asSequence()'
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// INTENTION_TEXT: "Replace with 'mapNotNullTo(){}'"
|
||||
// IS_APPLICABLE_2: false
|
||||
fun foo(list: List<String?>, target: MutableList<Int>) {
|
||||
<caret>for (s in list) {
|
||||
val length = s?.length
|
||||
|
||||
Reference in New Issue
Block a user