You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
caseBackendDAE.COMPLEX_EQUATION(left = exp1 as DAE.CREF(ty =DAE.T_COMPLEX(complexClassType=ClassInf.RECORD(_))), right = exp2 as DAE.CREF(ty =DAE.T_COMPLEX(complexClassType=ClassInf.RECORD(_))))
684
+
then Expression.expEqual(exp1, exp2);
685
+
668
686
elsefalse;
669
687
end match;
670
688
end isEquationRedundant;
@@ -743,6 +761,18 @@ algorithm
743
761
end match;
744
762
end isCallAndTuple;
745
763
764
+
protected function isCallAndRecord
765
+
input DAE.Exp inExp;
766
+
input DAE.Exp inExp2;
767
+
output Boolean outBoolean;
768
+
algorithm
769
+
outBoolean := match(inExp, inExp2)
770
+
case (DAE.CREF(ty =DAE.T_COMPLEX(complexClassType=ClassInf.RECORD(_))), DAE.CALL()) then true;
771
+
case (DAE.CALL(), DAE.CREF(ty =DAE.T_COMPLEX(complexClassType=ClassInf.RECORD(_)))) then true;
0 commit comments