do not rebound captured wildcard (IDEA-57325)

This commit is contained in:
anna
2013-07-17 19:39:56 +02:00
parent 823e008db1
commit e6ee01a887
4 changed files with 16 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ public class PsiSubstitutorImpl implements PsiSubstitutor {
}
}
if (!wildcard.isBounded()) return PsiWildcardType.createUnbounded(wildcardType.getManager());
return newBound;
}
return rebound(wildcardType, newBound);