mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
new inference: infer from return value from method ref
This commit is contained in:
+1
-1
@@ -421,7 +421,7 @@ public class PsiMethodReferenceExpressionImpl extends PsiReferenceExpressionBase
|
||||
psiSubstitutor = psiSubstitutor.putAll(substitutor);
|
||||
}
|
||||
return LambdaUtil.inferFromReturnType(method.getTypeParameters(),
|
||||
psiSubstitutor.substitute(method.getReturnType()),
|
||||
method.getReturnType(),
|
||||
interfaceMethodReturnType,
|
||||
psiSubstitutor,
|
||||
languageLevel, getProject());
|
||||
|
||||
Reference in New Issue
Block a user