forked from JavaTX/JavaCompilerCore
debug Ausgabe korriegiert!
This commit is contained in:
parent
fed7519f84
commit
267083fbb4
@ -1499,6 +1499,42 @@ throws MatchException
|
|||||||
bRegel = true;
|
bRegel = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (P.OperatorSmallerExtends()) //PL 15-02-03 Es muessen noch
|
||||||
|
{
|
||||||
|
if(P.TA1 instanceof ExtendsWildcardType && P.TA2 instanceof ExtendsWildcardType)
|
||||||
|
{
|
||||||
|
|
||||||
|
inferencelog.debug(" Extends <? Extends");
|
||||||
|
|
||||||
|
H.add(new Pair(((WildcardType)P.TA1).GetWildcardType(),((WildcardType)P.TA2).GetWildcardType(), PairOperator.Equal));
|
||||||
|
bRegel = true;
|
||||||
|
continue;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if(P.TA1 instanceof SuperWildcardType && P.TA2 instanceof SuperWildcardType)
|
||||||
|
{
|
||||||
|
|
||||||
|
inferencelog.debug(" Super <? Super");
|
||||||
|
|
||||||
|
H.add(new Pair(((WildcardType)P.TA1).GetWildcardType(),((WildcardType)P.TA2).GetWildcardType(), PairOperator.Equal));
|
||||||
|
bRegel = true;
|
||||||
|
continue;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if(P.TA1 instanceof ExtendsWildcardType && P.TA2 instanceof SuperWildcardType)
|
||||||
|
{
|
||||||
|
|
||||||
|
inferencelog.debug(" Extends <? Super");
|
||||||
|
|
||||||
|
H.add(new Pair(((WildcardType)P.TA1).GetWildcardType(),((WildcardType)P.TA2).GetWildcardType(), PairOperator.Smaller));
|
||||||
|
bRegel = true;
|
||||||
|
continue;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Subst --> noch zu pr<EFBFBD>fen
|
// Subst --> noch zu pr<EFBFBD>fen
|
||||||
if( P.TA1 instanceof TypePlaceholder && P.OperatorEqual() && useSubst) //&& P.TA2 instanceof RefType )
|
if( P.TA1 instanceof TypePlaceholder && P.OperatorEqual() && useSubst) //&& P.TA2 instanceof RefType )
|
||||||
@ -1539,7 +1575,7 @@ throws MatchException
|
|||||||
if( !P.bSubst )
|
if( !P.bSubst )
|
||||||
{
|
{
|
||||||
inferencelog.debug(" ================================");
|
inferencelog.debug(" ================================");
|
||||||
inferencelog.debug(" SUBSTITUTE: in " + E.elementAt(q).toString() + " alle " + P.TA1.getName() + " durch " + P.TA2.getName());
|
inferencelog.debug(" SUBSTITUTE: in " + H.elementAt(q).toString() + " alle " + P.TA1.getName() + " durch " + P.TA2.getName());
|
||||||
inferencelog.debug(" ================================");
|
inferencelog.debug(" ================================");
|
||||||
bRegel = true;
|
bRegel = true;
|
||||||
bTempSubst = true;
|
bTempSubst = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user