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

Commit 3f63830

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix type of DAE.RANGE.
Belonging to [master]: - #2386
1 parent c2dad7b commit 3f63830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFExpression.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ public
947947

948948
case RANGE()
949949
then DAE.RANGE(
950-
Type.toDAE(exp.ty),
950+
Type.toDAE(Type.arrayElementType(exp.ty)),
951951
toDAE(exp.start),
952952
if isSome(exp.step)
953953
then SOME(toDAE(Util.getOption(exp.step)))

0 commit comments

Comments
 (0)