blob: b5c12de5f60dd05572b3544e0ddf89805d08324d [file] [log] [blame]
// Test case for issue #871: https://github.com/typetools/checker-framework/issues/871
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.function.Predicate;
interface Issue871 {
default Iterable<Path> a() {
return f(Files::isRegularFile);
}
Iterable<Path> f(Predicate<Path> condition);
}