We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119136b commit 6a5601bCopy full SHA for 6a5601b
OMCompiler/Compiler/NFFrontEnd/NFInstNode.mo
@@ -966,7 +966,7 @@ uniontype InstNode
966
else
967
accumScopes;
968
case InstNodeType.REDECLARED_CLASS()
969
- then scopeList(parent(ty.parent), includeRoot, clsNode :: accumScopes);
+ then scopeList(ty.parent, includeRoot, getDerivedNode(clsNode) :: accumScopes);
970
971
algorithm
972
Error.assertion(false, getInstanceName() + " got unknown node type", sourceInfo());
0 commit comments