Skip to content

Commit

Permalink
[NF] Fix InstNode.scopePath for derived classes.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2466
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 24, 2018
1 parent f09a7d4 commit 0ea5484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/NFFrontEnd/NFInstNode.mo
Expand Up @@ -828,6 +828,8 @@ uniontype InstNode
then scopePath2(node.parentScope, includeRoot, Absyn.QUALIFIED(node.name, accumPath));
case InstNodeType.BASE_CLASS()
then scopePath2(it.parent, includeRoot, accumPath);
case InstNodeType.DERIVED_CLASS()
then scopePath2(node.parentScope, includeRoot, Absyn.QUALIFIED(node.name, accumPath));
case InstNodeType.BUILTIN_CLASS()
then Absyn.QUALIFIED(node.name, accumPath);
case InstNodeType.ROOT_CLASS()
Expand Down

0 comments on commit 0ea5484

Please sign in to comment.