modified: src/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java
modified: src/de/dhbwstuttgart/typeinference/unify/model/OrderingUnifyPair.java Letzte Version bevor MatchUnifyTask
This commit is contained in:
parent
6faffdf90c
commit
01dd4e57e6
@ -320,6 +320,7 @@ public class TypeUnifyTask extends RecursiveTask<Set<Set<UnifyPair>>> {
|
||||
System.out.print("");
|
||||
if (variance == 1) {
|
||||
a_next = oup.max(nextSetasList.iterator());
|
||||
List<Set<UnifyPair>> liup = oup.sortedCopy(nextSetasList);
|
||||
}
|
||||
else if (variance == -1) {
|
||||
a_next = oup.min(nextSetasList.iterator());
|
||||
|
@ -92,6 +92,9 @@ public class OrderingUnifyPair extends Ordering<Set<UnifyPair>> {
|
||||
.collect(Collectors.toCollection(HashSet::new));
|
||||
//System.out.println(left.toString());
|
||||
//Fall 2 und 3
|
||||
if (lefteq.iterator().next().getLhsType().getName().equals("AJO")) {
|
||||
System.out.print("");
|
||||
}
|
||||
if (lefteq.size() == 1 && leftle.size() == 1 && righteq.size() == 0 && rightle.size() == 1) {
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user