Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit db6f052

Browse files
adrpoOpenModelica-Hudson
authored andcommitted
NF better class extends: replace base class
1 parent 33e26aa commit db6f052

File tree

5 files changed

+559
-220
lines changed

5 files changed

+559
-220
lines changed

Compiler/FrontEnd/SCodeUtil.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2259,7 +2259,7 @@ algorithm
22592259
case (SCode.EXTENDS(baseClassPath, visibility, mod, ann, info)::rest, redecls)
22602260
equation
22612261
submods = makeElementsIntoSubMods(SCode.NOT_FINAL(), SCode.NOT_EACH(), redecls);
2262-
redeclareMod = SCode.MOD(SCode.NOT_FINAL(), SCode.NOT_EACH(), submods, NONE(), Absyn.dummyInfo);
2262+
redeclareMod = SCode.MOD(SCode.NOT_FINAL(), SCode.NOT_EACH(), submods, NONE(), info);
22632263
mod = mergeSCodeMods(redeclareMod, mod);
22642264
out = addRedeclareAsElementsToExtends(rest, redecls);
22652265
then

0 commit comments

Comments
 (0)