Skip to content

Commit

Permalink
Handle METARECORDCALL in PrefixUtil.prefixExpWork.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost committed May 19, 2020
1 parent c5443df commit 8244a02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions OMCompiler/Compiler/FrontEnd/PrefixUtil.mo
Expand Up @@ -933,6 +933,12 @@ algorithm
equation
then (cache,DAE.META_OPTION(NONE()));

case (DAE.METARECORDCALL(), _)
algorithm
(cache, expl) := prefixExpList(cache, env, ih, inExp.args, pre);
then
(cache, DAE.METARECORDCALL(inExp.path, expl, inExp.fieldNames, inExp.index, inExp.typeVars));

case (e as DAE.UNBOX(e1),_)
equation
(cache,e1) = prefixExpWork(cache, env, ih, e1, pre);
Expand Down

0 comments on commit 8244a02

Please sign in to comment.