diff --git a/src/main/scala/hb/dhbw/Unify.scala b/src/main/scala/hb/dhbw/Unify.scala index 3652ae6..104703c 100644 --- a/src/main/scala/hb/dhbw/Unify.scala +++ b/src/main/scala/hb/dhbw/Unify.scala @@ -271,6 +271,7 @@ object Unify { do{ substResult = substCall(substResult._1) substResult._2.map(it => { + substVars = subst(it.left.asInstanceOf[UnifyTV], it.right, substVars) substVars = substVars + it }) }while(substResult._2.isDefined)