Unify.java: in subst rekursiver Aufruf fuer Wildcardargumente eingefuegt

This commit is contained in:
Dr. Martin Pluemicke 2015-01-20 14:40:05 +01:00
parent 9ebe0d3850
commit e9b2564484

View File

@ -2379,7 +2379,8 @@ throws MatchException
ret &= true; //GEAENDERT PL 14-01-17
}
}
if( Temp instanceof RefType )
if( (Temp instanceof RefType ) || (Temp instanceof ExtendsWildcardType ) || (Temp instanceof SuperWildcardType ) )
//PL 2015-01-20 eingefuegt: || (Temp instanceof ExtendsWildcardType ) || (Temp instanceof SuperWildcardType )
{
Pair PTemp = new Pair( Temp, null);
inferencelog.debug(" TV!!!" + PTemp.toString() );