Skip to content
Snippets Groups Projects
Commit fdbee264 authored by Johannes Mey's avatar Johannes Mey
Browse files

fix bug in inheritance linking

parent 2626351b
No related branches found
No related tags found
No related merge requests found
aspect ModelicaToScopeTree { aspect ModelicaToScopeTree {
/** a relational nta attribute to compute the scope tree */ /** a relational nta attribute to compute the scope tree */
syn lazy ScopeTree SourceRoot.scopeTree() { syn lazy ScopeTree SourceRoot.scopeTree() {
ScopeTree tree = (ScopeTree) scope(); ScopeTree tree = (ScopeTree) scope();
// add all top-level classes // add all top-level classes
...@@ -32,6 +32,7 @@ aspect ModelicaToScopeTree { ...@@ -32,6 +32,7 @@ aspect ModelicaToScopeTree {
addInheritedScope(superClass.asScope()); addInheritedScope(superClass.asScope());
} }
} }
super.updateInheritance();
} }
/** a relational nta collection attribute to compute scopes */ /** a relational nta collection attribute to compute scopes */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment