mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
lambda: do not start inference from void type (IDEA-127596)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class Executor<E> {
|
||||
<K> void bar(Executor<K> e) {
|
||||
Runnable r = () -> foo(e);
|
||||
}
|
||||
|
||||
private <T> T foo(final Executor<T> e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user