Skip to content

Commit

Permalink
[NF] Fix issue with conditional components.
Browse files Browse the repository at this point in the history
- Handle the case where an array of complex components contain
  conditional components.

Belonging to [master]:
  - OpenModelica/OMCompiler#2531
  • Loading branch information
perost authored and OpenModelica-Hudson committed Jun 26, 2018
1 parent f9bcda0 commit 37e7177
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/NFFrontEnd/NFFlatten.mo
Expand Up @@ -261,6 +261,8 @@ algorithm
then
();

case Component.DELETED_COMPONENT() then ();

else
algorithm
Error.assertion(false, getInstanceName() + " got unknown component", sourceInfo());
Expand Down

0 comments on commit 37e7177

Please sign in to comment.