mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
18 lines
363 B
Java
18 lines
363 B
Java
package p;
|
|
|
|
import java.util.function.BiFunction;
|
|
import java.util.function.Predicate;
|
|
|
|
class MyTest {
|
|
void m(Predicate<String> p) {}
|
|
void m(BiFunction<String, Integer, String> f) {}
|
|
|
|
{
|
|
m((s, i) -> {//m should be resolved here
|
|
if (s.equals("a")) {
|
|
|
|
}
|
|
<error descr="Missing return statement">}</error>);
|
|
}
|
|
}
|