You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix lookup so that it works also on iterators of complex type.
- Improve Expression.replaceIterator so it handles qualified iterator
names.
- Improve construction of record array bindings in Ceval, evaluate each
element instead of evaluating only one and filling an array.
- Add simplification of record element expressions, to make sure mutable
expressions are simplified away properly.
perost
added a commit
to perost/OpenModelica
that referenced
this issue
Oct 25, 2021
- Fix lookup so that it works also on iterators of complex type.
- Improve Expression.replaceIterator so it handles qualified iterator
names.
- Improve construction of record array bindings in Ceval, evaluate each
element instead of evaluating only one and filling an array.
- Add simplification of record element expressions, to make sure mutable
expressions are simplified away properly.
Description
Looking up a field in an iterator of record type does not work.
Steps to Reproduce
Trying to instantiate a model such as this:
gives the error:
Expected Behavior
The model should work, since it's allowed for an iterator to be of record type.
The text was updated successfully, but these errors were encountered: