Skip to content

Commit

Permalink
NF better class extends: replace base class
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo authored and OpenModelica-Hudson committed Feb 10, 2017
1 parent 33e26aa commit db6f052
Show file tree
Hide file tree
Showing 5 changed files with 559 additions and 220 deletions.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/SCodeUtil.mo
Expand Up @@ -2259,7 +2259,7 @@ algorithm
case (SCode.EXTENDS(baseClassPath, visibility, mod, ann, info)::rest, redecls)
equation
submods = makeElementsIntoSubMods(SCode.NOT_FINAL(), SCode.NOT_EACH(), redecls);
redeclareMod = SCode.MOD(SCode.NOT_FINAL(), SCode.NOT_EACH(), submods, NONE(), Absyn.dummyInfo);
redeclareMod = SCode.MOD(SCode.NOT_FINAL(), SCode.NOT_EACH(), submods, NONE(), info);
mod = mergeSCodeMods(redeclareMod, mod);
out = addRedeclareAsElementsToExtends(rest, redecls);
then
Expand Down

0 comments on commit db6f052

Please sign in to comment.