diff --git a/Compiler/FrontEnd/ComponentReference.mo b/Compiler/FrontEnd/ComponentReference.mo index 7997e625ec5..6c15afa8650 100644 --- a/Compiler/FrontEnd/ComponentReference.mo +++ b/Compiler/FrontEnd/ComponentReference.mo @@ -1081,7 +1081,7 @@ algorithm outEqual := match(inCref1, inCref2) case (DAE.CREF_IDENT(), DAE.CREF_IDENT()) then inCref1.ident == inCref2.ident and - Expression.subscriptEqual(inCref1.subscriptLst, inCref2.subscriptLst); + Expression.subscriptEqual(inCref1.subscriptLst, inCref2.subscriptLst); case (DAE.CREF_QUAL(), DAE.CREF_QUAL()) then inCref1.ident == inCref2.ident and diff --git a/Compiler/FrontEnd/Expression.mo b/Compiler/FrontEnd/Expression.mo index 6c332415c12..1c64549c79b 100644 --- a/Compiler/FrontEnd/Expression.mo +++ b/Compiler/FrontEnd/Expression.mo @@ -8031,7 +8031,7 @@ algorithm then operatorEqual(inExp1.operator, op) and expEqual(inExp1.exp, e); - + case DAE.RELATION() algorithm DAE.RELATION(exp1 = e1, operator = op, exp2 = e2) := inExp2; @@ -8159,7 +8159,7 @@ algorithm else false; end match; end expEqual; - + protected function expEqualOpt input Option inExp1; input Option inExp2;