mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-60119 - IAE: PsiCapturedWildcardType.create
This commit is contained in:
@@ -262,7 +262,9 @@ public class GenericsUtil {
|
||||
for (PsiTypeParameter typeParameter : typeParams) {
|
||||
PsiType substituted = substitutor.substitute(typeParameter);
|
||||
if (substituted == null) return null;
|
||||
substituted = PsiUtil.captureToplevelWildcards(substituted, context);
|
||||
if (context != null) {
|
||||
substituted = PsiUtil.captureToplevelWildcards(substituted, context);
|
||||
}
|
||||
|
||||
PsiClassType[] extendsTypes = typeParameter.getExtendsListTypes();
|
||||
for (PsiClassType type : extendsTypes) {
|
||||
|
||||
Reference in New Issue
Block a user