// WITH_RUNTIME // IS_APPLICABLE: false // IS_APPLICABLE_2: false fun foo(list: List) { var result = -1 for ((index, s) in list.withIndex()) { if (s.length > index) { result = index break } } }