Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NF] Improve evaluation of record fields.
- Change the check in Ceval.evalCref that checked that the cref had a cref origin to instead check that it doesn't have an iterator origin. The cref might have a scope origin when evaluating the parent of a record field, and the intent was only to make sure that iterators are not evaluated by mistake. - Add a flag to Typing.typeComponentBinding to make it possible to skip typing the component's children, otherwise we might get loops when calling it from Ceval.evalComponentBinding. Belonging to [master]: - OpenModelica/OMCompiler#2817
- Loading branch information
1 parent
8ffc95a
commit 9fc7ba2
Showing
2 changed files
with
11 additions
and
5 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