Skip to content

Commit

Permalink
[NF] Collect constructors from record expressions.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2824
  • Loading branch information
perost authored and OpenModelica-Hudson committed Dec 11, 2018
1 parent b641911 commit c257574
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiler/NFFrontEnd/NFFlatten.mo
Expand Up @@ -1505,6 +1505,12 @@ algorithm
then
();

case Expression.RECORD()
algorithm
funcs := collectTypeFuncs(exp.ty, funcs);
then
();

case Expression.PARTIAL_FUNCTION_APPLICATION()
algorithm
for f in Function.getRefCache(exp.fn) loop
Expand Down

0 comments on commit c257574

Please sign in to comment.