// WITH_RUNTIME fun foo(list: List) { for (it in list.filter { it != null } /* filter out nulls */) { print(1..4) /* print x */ } }