Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NF] Improve subscripting of expressions.
- Handle typenames, ranges and reductions in Expression.applySubscriptIndex. - Use Expression.applySubscriptIndex in Expression.expandGeneric, instead of just creating a subscripted expression. - Fixed mistake in typing of Boolean ranges that resulted in them always getting a size of 1. - Added case to Typing.typeIterator for when the iterator has already been typed (which can happen e.g. if the iterator is needed to determine the size of a dimension). Belonging to [master]: - OpenModelica/OMCompiler#2392 - OpenModelica/OpenModelica-testsuite#931
- Loading branch information
1 parent
c51b823
commit 549896e
Showing
5 changed files
with
158 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters