mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Replace variables in MGU properly
This commit is contained in:
parent
480275e3a7
commit
116aea51c3
@ -133,6 +133,7 @@ public class Tree implements TermVisitorTree {
|
||||
Map<VarTerm, TypeAbstraction> extendedTypeAssumptions = new LinkedHashMap<>(typeAssumptions);
|
||||
Type assType = typeVarFactory.nextTypeVariable();
|
||||
TypeAbstraction assAbs = new TypeAbstraction(assType);
|
||||
extendedTypeAssumptions.remove(absTerm.getVariable());
|
||||
extendedTypeAssumptions.put(absTerm.getVariable(), assAbs);
|
||||
|
||||
Type premiseType = typeVarFactory.nextTypeVariable();
|
||||
|
Loading…
Reference in New Issue
Block a user