mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
highlighting: don't add warning for nested lambda when problem is inside upper level (IDEA-155192)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java.util.Set;
|
||||
|
||||
class Test {
|
||||
void foo(Set<String> outer, Set<String> inner) {
|
||||
outer.stream().map((String f)-> {
|
||||
inner.stream().filter(
|
||||
(String s)->{return true;}
|
||||
);
|
||||
<error descr="Missing return statement">}</error>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user