forked from JavaTX/JavaCompilerCore
filterUndConstraints
This commit is contained in:
parent
4e394ae12c
commit
efa79da5d5
@ -60,6 +60,11 @@ public class ConstraintsSet implements Iterable<OderConstraint>{
|
|||||||
|
|
||||||
public void unifyUndConstraints(Unifier unifier) {
|
public void unifyUndConstraints(Unifier unifier) {
|
||||||
Vector<UndConstraint> uCons = this.filterUndConstraints();
|
Vector<UndConstraint> uCons = this.filterUndConstraints();
|
||||||
|
Vector<Pair> alleUndConstraints = new Vector<>();
|
||||||
|
for(UndConstraint undConstraint : uCons){
|
||||||
|
alleUndConstraints.addAll(undConstraint.getConstraintPairs());
|
||||||
|
}
|
||||||
|
Vector<Vector<Pair>> unifyResult = unifier.apply(alleUndConstraints);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user