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

Commit 0ea5484

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix InstNode.scopePath for derived classes.
Belonging to [master]: - #2466
1 parent f09a7d4 commit 0ea5484

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Compiler/NFFrontEnd/NFInstNode.mo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,8 @@ uniontype InstNode
828828
then scopePath2(node.parentScope, includeRoot, Absyn.QUALIFIED(node.name, accumPath));
829829
case InstNodeType.BASE_CLASS()
830830
then scopePath2(it.parent, includeRoot, accumPath);
831+
case InstNodeType.DERIVED_CLASS()
832+
then scopePath2(node.parentScope, includeRoot, Absyn.QUALIFIED(node.name, accumPath));
831833
case InstNodeType.BUILTIN_CLASS()
832834
then Absyn.QUALIFIED(node.name, accumPath);
833835
case InstNodeType.ROOT_CLASS()

0 commit comments

Comments
 (0)