blob: 6b9bd90e2e7ab67f3f4b645a37dce1c3c37d2372 [file]
// FIR_IDENTICAL
// FULL_JDK
import java.util.stream.*
interface A : MutableCollection<String> {
override fun removeIf(x: java.util.function.Predicate<in String>) = false
}
fun foo(x: MutableList<String>, y: A) {
x.removeIf { it.length > 0 }
y.removeIf { it.length > 0 }
}