mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
new inference: primitive types processing: ignore eq constraint by the spec
This commit is contained in:
+2
-1
@@ -341,7 +341,8 @@ public class InferenceSession {
|
||||
}
|
||||
|
||||
private static boolean hasPrimitiveWrapperBound(InferenceVariable inferenceVariable) {
|
||||
for (InferenceBound inferenceBound : InferenceBound.values()) {
|
||||
final InferenceBound[] boundTypes = {InferenceBound.UPPER, InferenceBound.LOWER};
|
||||
for (InferenceBound inferenceBound : boundTypes) {
|
||||
final List<PsiType> bounds = inferenceVariable.getBounds(inferenceBound);
|
||||
for (PsiType bound : bounds) {
|
||||
if (PsiPrimitiveType.getUnboxedType(bound) != null) {
|
||||
|
||||
Reference in New Issue
Block a user