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

Commit f9bcda0

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix scope in Inst.instExpressions.
Belonging to [master]: - #2530
1 parent 72ee122 commit f9bcda0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFInst.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,7 @@ algorithm
18151815

18161816
case Class.EXPANDED_DERIVED(dims = dims)
18171817
algorithm
1818-
sections := instExpressions(cls.baseClass, cls.baseClass, sections);
1818+
sections := instExpressions(cls.baseClass, scope, sections);
18191819

18201820
dim_scope := InstNode.parent(node);
18211821
info := InstNode.info(node);

0 commit comments

Comments
 (0)