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

Commit 14c51e0

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Pad cref subscripts with :.
Belonging to [master]: - #2473 - OpenModelica/OpenModelica-testsuite#963
1 parent e2290c9 commit 14c51e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Compiler/NFFrontEnd/NFTyping.mo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,10 @@ algorithm
13471347
i := i + 1;
13481348
end for;
13491349

1350+
for dim in dims loop
1351+
typedSubs := Subscript.WHOLE() :: typedSubs;
1352+
end for;
1353+
13501354
typedSubs := listReverseInPlace(typedSubs);
13511355
end typeSubscripts;
13521356

0 commit comments

Comments
 (0)