// WITH_RUNTIME // INTENTION_TEXT: "Replace with 'mapNotNull{}.mapTo(){}'" // INTENTION_TEXT_2: "Replace with 'asSequence().mapNotNull{}.mapTo(){}'" fun foo(list: List, target: MutableList) { for (s in list) { val length = s?.length if (length == null) continue target.add(length.toString()) } }