Skip to content

Commit

Permalink
[NF] Fix modifier scope in Inst.instClassDef.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2444
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 18, 2018
1 parent c0cc57f commit 54d7a40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rdParty
Submodule 3rdParty updated 1 files
+0 −1 README.md
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFInst.mo
Expand Up @@ -732,7 +732,7 @@ algorithm
inst_cls as Class.EXPANDED_CLASS(elements = cls_tree) := InstNode.getClass(node);

// Fetch modification on the class definition (for class extends).
mod := Modifier.fromElement(InstNode.definition(node), parent);
mod := Modifier.fromElement(InstNode.definition(node), par);
// Merge with any outer modifications.
mod := Modifier.merge(outerMod, mod);

Expand Down

0 comments on commit 54d7a40

Please sign in to comment.