Skip to content

Commit

Permalink
[NF] Clone derived nodes.
Browse files Browse the repository at this point in the history
- Add back cloning of derived nodes, it seems it's still needed in
  some cases.

Belonging to [master]:
  - OpenModelica/OMCompiler#2818
  • Loading branch information
perost authored and OpenModelica-Hudson committed Dec 7, 2018
1 parent 9fc7ba2 commit c7c9c71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/NFFrontEnd/NFInst.mo
Expand Up @@ -656,6 +656,7 @@ algorithm
end if;

ext_node := expand(ext_node);
ext_node := InstNode.clone(ext_node);

// Fetch the needed information from the class definition and construct a EXPANDED_DERIVED.
cls := InstNode.getClass(node);
Expand Down

0 comments on commit c7c9c71

Please sign in to comment.