@@ -4092,7 +4092,7 @@ algorithm
40924092 updatedComps = BaseHashTable . add((cref,0 ),updatedComps);
40934093 (cache,env2,ih,SOME (updatedComps)) = updateComponentsInEnv2(cache, env, ih, pre, DAE . NOMOD (), crefs_2, ci_state, impl, SOME (updatedComps), SOME (cref));
40944094
4095- (cache,env_1,ih,updatedComps) = updateComponentInEnv2(cache,env2,cenv,ih,pre,t,n,ad,cl,attr,pf,DAE . ATTR (ct ,prl1,var1,dir,io,visibility),info,m,cmod,mods,cref,ci_state,impl,updatedComps);
4095+ (cache,env_1,ih,updatedComps) = updateComponentInEnv2(cache,env2,cenv,ih,pre,t,n,ad,cl,attr,pf,DAE . ATTR (DAEUtil . toConnectorTypeNoState(ct) ,prl1,var1,dir,io,visibility),info,m,cmod,mods,cref,ci_state,impl,updatedComps);
40964096
40974097 // print("updateComponentInEnv: NEW ENV:\n" + FGraph.printGraphStr(env_1) + "\n");
40984098 then
@@ -4150,7 +4150,7 @@ algorithm
41504150 crefs_2 = InstUtil . removeOptCrefFromCrefs(crefs_2, currentCref);
41514151 updatedComps = BaseHashTable . add((cref,0 ),updatedComps);
41524152 (cache,env2,ih,SOME (updatedComps)) = updateComponentsInEnv2(cache, env, ih, pre, mods, crefs_2, ci_state, impl, SOME (updatedComps), SOME (cref));
4153- (cache,env_1,ih,updatedComps) = updateComponentInEnv2(cache,env2,cenv,ih,pre,t,n,ad,cl,attr,pf,DAE . ATTR (ct ,prl1,var1,dir,io,visibility),info,m,cmod,mods,cref,ci_state,impl,updatedComps);
4153+ (cache,env_1,ih,updatedComps) = updateComponentInEnv2(cache,env2,cenv,ih,pre,t,n,ad,cl,attr,pf,DAE . ATTR (DAEUtil . toConnectorTypeNoState(ct) ,prl1,var1,dir,io,visibility),info,m,cmod,mods,cref,ci_state,impl,updatedComps);
41544154 then
41554155 (cache,env_1,ih,SOME (updatedComps));
41564156
@@ -4998,7 +4998,7 @@ algorithm
49984998 io = SCode . prefixesInnerOuter(inPrefixes);
49994999 vis = SCode . prefixesVisibility(inPrefixes);
50005000
5001- new_var = DAE . TYPES_VAR (n,DAE . ATTR (ct ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
5001+ new_var = DAE . TYPES_VAR (n,DAE . ATTR (DAEUtil . toConnectorTypeNoState(ct) ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
50025002 env = FGraph . updateComp(env, new_var, FCore . VAR_TYPED (), compenv);
50035003 ErrorExt . rollBack("Inst.removeSelfReferenceAndUpdate" );
50045004 then
@@ -5036,7 +5036,7 @@ algorithm
50365036 io = SCode . prefixesInnerOuter(inPrefixes);
50375037 vis = SCode . prefixesVisibility(inPrefixes);
50385038
5039- new_var = DAE . TYPES_VAR (n,DAE . ATTR (ct ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
5039+ new_var = DAE . TYPES_VAR (n,DAE . ATTR (DAEUtil . toConnectorTypeNoState(ct) ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
50405040 env = FGraph . updateComp(env, new_var, FCore . VAR_TYPED (), compenv);
50415041 ErrorExt . rollBack("Inst.removeSelfReferenceAndUpdate" );
50425042 then
@@ -5074,7 +5074,7 @@ algorithm
50745074 io = SCode . prefixesInnerOuter(inPrefixes);
50755075 vis = SCode . prefixesVisibility(inPrefixes);
50765076
5077- new_var = DAE . TYPES_VAR (n,DAE . ATTR (ct ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
5077+ new_var = DAE . TYPES_VAR (n,DAE . ATTR (DAEUtil . toConnectorTypeNoState(ct) ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
50785078 env = FGraph . updateComp(env, new_var, FCore . VAR_TYPED (), compenv);
50795079 ErrorExt . rollBack("Inst.removeSelfReferenceAndUpdate" );
50805080 then
@@ -5113,7 +5113,7 @@ algorithm
51135113 io = SCode . prefixesInnerOuter(inPrefixes);
51145114 vis = SCode . prefixesVisibility(inPrefixes);
51155115
5116- new_var = DAE . TYPES_VAR (n,DAE . ATTR (ct ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
5116+ new_var = DAE . TYPES_VAR (n,DAE . ATTR (DAEUtil . toConnectorTypeNoState(ct) ,prl1,var1,dir,io,vis),ty,DAE . UNBOUND (),NONE ());
51175117 env = FGraph . updateComp(env, new_var, FCore . VAR_TYPED (), compenv);
51185118 ErrorExt . rollBack("Inst.removeSelfReferenceAndUpdate" );
51195119 then
0 commit comments