mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
[java] inference: completely ignore expressions over which overload resolution is started
logging for EA-241551 - NPE: MethodReferenceResolver$0$0.inferTypeArguments, as there is no reproducible example, still GitOrigin-RevId: 46216cd8171479d14af2283cf9cd4a35e68d9b48
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5ad2a37900
commit
3db82d3846
@@ -0,0 +1,17 @@
|
||||
|
||||
import java.util.function.BiFunction;
|
||||
import java.util.function.Function;
|
||||
|
||||
public class Clazz {
|
||||
|
||||
<T> T foo(BiFunction<T, T, T> d) { return null;}
|
||||
<T> T foo(Function<T, String> d) { return null;}
|
||||
|
||||
{
|
||||
fooBar(foo(this::<caret>bar));
|
||||
}
|
||||
|
||||
<K> void fooBar(K k) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user