// WITH_RUNTIME fun foo(i: Int): T? = null fun test(list: List) { list.mapNotNull(::foo) }