@@ -1544,12 +1544,12 @@ algorithm
15441544 DAE . T_COMPLEX (complexClassType= ClassInf . RECORD (path)) = inType;
15451545 source = DAE . SOURCE (Absyn . dummyInfo, {}, Prefix . NOCOMPPRE (), {}, {path}, {}, {});
15461546 varKind = if Types . isDiscreteType(inType) then BackendDAE . DISCRETE () else BackendDAE . VARIABLE ();
1547- outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), {}, source, NONE (), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
1547+ outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), {}, source, DAEUtil . setProtectedAttr( NONE (), true ), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
15481548 then outVar;
15491549
15501550 else equation
15511551 varKind = if Types . isDiscreteType(inType) then BackendDAE . DISCRETE () else BackendDAE . VARIABLE ();
1552- outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), {}, DAE . emptyElementSource, NONE (), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
1552+ outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), {}, DAE . emptyElementSource, DAEUtil . setProtectedAttr( NONE (), true ), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
15531553 then outVar;
15541554 end match;
15551555end createCSEVar;
@@ -1624,12 +1624,12 @@ algorithm
16241624 DAE . T_COMPLEX (complexClassType= ClassInf . RECORD (path)) = inType;
16251625 source = DAE . SOURCE (Absyn . dummyInfo, {}, Prefix . NOCOMPPRE (), {}, {path}, {}, {});
16261626 varKind = if Types . isDiscreteType(inType) then BackendDAE . DISCRETE () else BackendDAE . VARIABLE ();
1627- outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), inArryDim, source, NONE (), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
1627+ outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), inArryDim, source, DAEUtil . setProtectedAttr( NONE (), true ), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
16281628 then outVar;
16291629
16301630 else equation
16311631 varKind = if Types . isDiscreteType(inType) then BackendDAE . DISCRETE () else BackendDAE . VARIABLE ();
1632- outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), inArryDim, DAE . emptyElementSource, NONE (), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
1632+ outVar = BackendDAE . VAR (inCref, varKind, DAE . BIDIR (), DAE . NON_PARALLEL (), inType, NONE (), NONE (), inArryDim, DAE . emptyElementSource, DAEUtil . setProtectedAttr( NONE (), true ), NONE (), DAE . BCONST (false ), NONE (), DAE . NON_CONNECTOR (), DAE . NOT_INNER_OUTER (), true );
16331633 then outVar;
16341634 end match;
16351635end createCSEArrayVar;
0 commit comments