// WITH_RUNTIME // INTENTION_TEXT: "Replace with 'mapIndexedNotNullTo(){}'" // IS_APPLICABLE_2: false fun foo(list: List, target: MutableList) { list.mapIndexedNotNullTo(target) { index, s -> s?.substring(index)?.length } }