Skip to content

Commit d82304a

Browse files
committed
- Propagate modifiers for derived types in new instantiation.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17866 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 058183e commit d82304a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Compiler/FrontEnd/NFInst.mo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ algorithm
343343
dims = Absyn.typeSpecDimensions(dty);
344344
dim_count = listLength(dims);
345345
mod = NFMod.translateMod(smod, "", dim_count, inPrefix, inEnv);
346+
mod = NFMod.mergeMod(NFEnv.entryModifier(inEntry), mod);
346347
mod = NFMod.mergeMod(inClassMod, mod);
347348

348349
// redecls = listAppend(

0 commit comments

Comments
 (0)