Skip to content

Commit 8244a02

Browse files
committed
Handle METARECORDCALL in PrefixUtil.prefixExpWork.
1 parent c5443df commit 8244a02

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

OMCompiler/Compiler/FrontEnd/PrefixUtil.mo

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,12 @@ algorithm
933933
equation
934934
then (cache,DAE.META_OPTION(NONE()));
935935

936+
case (DAE.METARECORDCALL(), _)
937+
algorithm
938+
(cache, expl) := prefixExpList(cache, env, ih, inExp.args, pre);
939+
then
940+
(cache, DAE.METARECORDCALL(inExp.path, expl, inExp.fieldNames, inExp.index, inExp.typeVars));
941+
936942
case (e as DAE.UNBOX(e1),_)
937943
equation
938944
(cache,e1) = prefixExpWork(cache, env, ih, e1, pre);

0 commit comments

Comments
 (0)