Skip to content

Commit e240093

Browse files
committed
- Don't simplify MetaModelica array ASUBs in ExpressionSimplify,
it doesn't know which side an expression is on. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25764 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 16cfe19 commit e240093

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Compiler/FrontEnd/ExpressionSimplify.mo

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2934,12 +2934,6 @@ algorithm
29342934
then
29352935
e;
29362936

2937-
case(DAE.CREF(_,DAE.T_METATYPE(ty=DAE.T_METAARRAY(ty=t))), _, _)
2938-
equation
2939-
t = Types.simplifyType(t);
2940-
exp = Expression.makeBuiltinCall("arrayGet",{ie,inSubExp},t,false);
2941-
then exp;
2942-
29432937
// name subscript
29442938
case(DAE.CREF(c,t), _, _)
29452939
equation

0 commit comments

Comments
 (0)