// WITH_RUNTIME interface CD fun D.foo(): D? = null fun test(x: List) { x.mapNotNull { it.foo() } }