mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert
This commit is contained in:
@@ -512,9 +512,6 @@ public class PsiImplUtil {
|
||||
if (type instanceof PsiWildcardType) {
|
||||
final PsiWildcardType wildcardType = (PsiWildcardType)type;
|
||||
|
||||
if (toplevel.getParent() instanceof PsiLambdaExpression) {
|
||||
return PsiCapturedWildcardType.create(wildcardType, expression);
|
||||
}
|
||||
if (PsiUtil.isAccessedForWriting(toplevel)) {
|
||||
return wildcardType.isSuper() ? wildcardType.getBound() : PsiCapturedWildcardType.create(wildcardType, expression);
|
||||
}
|
||||
|
||||
-4
@@ -119,10 +119,6 @@ public class StrictSubtypingConstraint implements ConstraintFormula {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (myS instanceof PsiCapturedWildcardType) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user