Skip to content

Commit

Permalink
Fix InstExtends.fixCref for fully qualified crefs.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed Sep 13, 2017
1 parent 5307f91 commit cc3c531
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiler/FrontEnd/InstExtends.mo
Expand Up @@ -1500,6 +1500,12 @@ algorithm
SCode.Element c;
Boolean isOutside;

case (env, Absyn.CREF_FULLYQUALIFIED())
algorithm
env := FGraph.topScope(inEnv);
then
fixCref(cache, env, inCref.componentRef, tree);

case (env,cref)
algorithm
id := Absyn.crefFirstIdent(cref);
Expand Down

0 comments on commit cc3c531

Please sign in to comment.