Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 54d7a40

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix modifier scope in Inst.instClassDef.
Belonging to [master]: - #2444
1 parent c0cc57f commit 54d7a40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3rdParty

Submodule 3rdParty updated 1 file

Compiler/NFFrontEnd/NFInst.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ algorithm
732732
inst_cls as Class.EXPANDED_CLASS(elements = cls_tree) := InstNode.getClass(node);
733733

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

0 commit comments

Comments
 (0)