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

Commit c8cc40e

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix Ceval.makeRecordBindingExp.
- Evaluate all parameters in makeRecordBindingExp, not only structural ones. Belonging to [master]: - #2862
1 parent c68f433 commit c8cc40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFCeval.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ algorithm
618618
cr := ComponentRef.CREF(c, {}, ty, NFComponentRef.Origin.CREF, cref);
619619
field_exp := Expression.CREF(ty, cr);
620620

621-
if Component.variability(InstNode.component(c)) <= Variability.STRUCTURAL_PARAMETER then
621+
if Component.variability(InstNode.component(c)) <= Variability.PARAMETER then
622622
field_exp := evalExp(field_exp);
623623
end if;
624624

0 commit comments

Comments
 (0)