mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Use renamed AppTerms method in Tree
This commit is contained in:
parent
2092bf380e
commit
c329a4e7d6
@ -103,10 +103,10 @@ public class Tree implements TermVisitorTree {
|
||||
@Override
|
||||
public InferenceStep visit(AppTerm appTerm, Map<VarTerm, TypeAbstraction> typeAssumptions, Type conclusionType) {
|
||||
Type leftType = typeVarFactory.nextTypeVariable();
|
||||
InferenceStep leftPremise = appTerm.getLeft().accept(this, typeAssumptions, leftType);
|
||||
InferenceStep leftPremise = appTerm.getFunction().accept(this, typeAssumptions, leftType);
|
||||
|
||||
Type rightType = typeVarFactory.nextTypeVariable();
|
||||
InferenceStep rightPremise = appTerm.getRight().accept(this, typeAssumptions, rightType);
|
||||
InferenceStep rightPremise = appTerm.getParameter().accept(this, typeAssumptions, rightType);
|
||||
|
||||
FunctionType function = new FunctionType(rightType, conclusionType);
|
||||
Constraint newConstraint = new Constraint(leftType, function);
|
||||
|
Loading…
Reference in New Issue
Block a user