mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix EA-28750 - chained call completion aware of captured types
This commit is contained in:
+1
-1
@@ -388,7 +388,7 @@ public class ReferenceExpressionCompletionContributor {
|
||||
if (varType instanceof PsiEllipsisType) {
|
||||
varType = ((PsiEllipsisType)varType).getComponentType();
|
||||
}
|
||||
if (varType instanceof PsiWildcardType) {
|
||||
if (varType instanceof PsiWildcardType || varType instanceof PsiCapturedWildcardType) {
|
||||
varType = TypeConversionUtil.erasure(expectedType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user