mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
new inference: take first equals bound
This commit is contained in:
+1
@@ -408,6 +408,7 @@ public class InferenceSession {
|
||||
for (PsiType eqBound : eqBounds) {
|
||||
if (eqBound == null) continue;
|
||||
bound = acceptBoundsWithRecursiveDependencies(typeParameter, eqBound);
|
||||
if (bound != null) break;
|
||||
}
|
||||
if (bound != null) {
|
||||
if (bound instanceof PsiCapturedWildcardType && eqBounds.size() > 1) {
|
||||
|
||||
Reference in New Issue
Block a user