@@ -6215,7 +6215,7 @@ algorithm
62156215 //If the type is one of the simple, predifined types a simple variable
62166216 //declaration is added to the DAE.
62176217 env_1 = Env.updateFrameV(env2_1, new_var, Env.VAR_DAE(), compenv);
6218- vars = Util.if_(alreadyDeclared,{},{DAE.TYPES_VAR(n,DAE.ATTR(flowPrefix,streamPrefix,acc,param,dir,io),prot,ty,binding,NONE()) });
6218+ vars = Util.if_(alreadyDeclared,{},{new_var });
62196219 dae = Util.if_(alreadyDeclared,DAEUtil.emptyDae /*DAEUtil.extractFunctions(dae)*/,dae);
62206220 (/*dae*/_,ih,graphNew) = InnerOuter.handleInnerOuterEquations(io,/*dae*/DAEUtil.emptyDae,ih,graphNew,graph);
62216221
@@ -6326,7 +6326,7 @@ algorithm
63266326 // If the type is one of the simple, predifined types a simple variable
63276327 // declaration is added to the DAE.
63286328 env_1 = Env.updateFrameV(env, new_var, Env.VAR_DAE(), compenv) ;
6329- vars = Util.if_(alreadyDeclared,{},{DAE.TYPES_VAR(n,DAE.ATTR(flowPrefix,streamPrefix,acc,param,dir,io),prot,ty,binding,NONE()) });
6329+ vars = Util.if_(alreadyDeclared,{},{new_var });
63306330 dae = Util.if_(alreadyDeclared,DAEUtil.emptyDae /*DAEUtil.extractFunctions(dae)*/,dae);
63316331 (/*dae*/_,ih,graph) = InnerOuter.handleInnerOuterEquations(io,/*dae*/DAEUtil.emptyDae,ih,graphNew,graph);
63326332 // If an outer element, remove this variable from the DAE. Variable references will be bound to
0 commit comments