mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
do not open capture when method call type is calculated
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ interface I<T>{
|
||||
class C {
|
||||
void bar(I<?> x) {
|
||||
x.foo(a -> {
|
||||
x.foo<error descr="'foo(java.util.function.Function<capture<?>,capture<?>>)' in 'I' cannot be applied to '(<lambda expression>)'">(y -> a)</error>;
|
||||
x.foo(y -> <error descr="Bad return type in lambda expression: capture of ? cannot be converted to capture of ?">a</error>);
|
||||
return a;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user