forked from JavaTX/JavaCompilerCore
neue abbruchbedingung
This commit is contained in:
parent
fbcd0cd8a5
commit
afc6bc7b89
@ -151,20 +151,22 @@ public class TypeUnify {
|
|||||||
for(Set<UnifyPair> eqPrime : eqPrimeSetFlat) {
|
for(Set<UnifyPair> eqPrime : eqPrimeSetFlat) {
|
||||||
Optional<Set<UnifyPair>> eqPrimePrime = rules.subst(eqPrime);
|
Optional<Set<UnifyPair>> eqPrimePrime = rules.subst(eqPrime);
|
||||||
|
|
||||||
/*if (eqPrime.equals(eq))
|
if (eqPrime.equals(eq))
|
||||||
eqPrimePrimeSet.add(eqPrime);
|
eqPrimePrimeSet.add(eqPrime);
|
||||||
else if(eqPrimePrime.isPresent()) {
|
else if(eqPrimePrime.isPresent()) {
|
||||||
Set<Set<UnifyPair>> subUnifyResult = unify(eqPrimePrime.get(), fc);
|
restartSet.add(eqPrimePrime.get());
|
||||||
eqPrimePrimeSet.addAll(subUnifyResult);
|
/*Set<Set<UnifyPair>> subUnifyResult = unify(eqPrimePrime.get(), fc);
|
||||||
|
eqPrimePrimeSet.addAll(subUnifyResult);*/
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
eqPrimePrimeSet.addAll(this.unify(eqPrime, fc));*/
|
restartSet.add(eqPrime);
|
||||||
if(eqPrimePrime.isPresent())
|
//eqPrimePrimeSet.addAll(this.unify(eqPrime, fc));
|
||||||
|
/*if(eqPrimePrime.isPresent())
|
||||||
restartSet.add(eqPrimePrime.get());
|
restartSet.add(eqPrimePrime.get());
|
||||||
else if(!isSolvedForm(eqPrime))
|
else if(!isSolvedForm(eqPrime))
|
||||||
restartSet.add(eqPrime);
|
restartSet.add(eqPrime);
|
||||||
else
|
else
|
||||||
eqPrimePrimeSet.add(eqPrime);
|
eqPrimePrimeSet.add(eqPrime);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user