Opened 11 years ago
Closed 5 years ago
#2859 closed defect (fixed)
Wrong generation of record bindings when defining record components via submodifiers
| Reported by: | Adrian Pop | Owned by: | somebody |
|---|---|---|---|
| Priority: | high | Milestone: | 1.16.0 |
| Component: | New Instantiation | Version: | trunk |
| Keywords: | Cc: |
Description
model Test record Data Real MM; end Data; constant Data C1 = Data(MM=1); constant Data C2 = Data(MM=2); constant Data d[2](MM = {C1.MM, C2.MM}); parameter Real y[:] = d.MM; end Test;
Internally d gets binding Data(MM = {C1.MM, C2.MM})
instead of {Data(MM = C1.MM), Data(MM = C2.MM)} .
InstBinding.makeRecordBinding is quite wrong in this case.
Change History (1)
comment:1 by , 5 years ago
| Component: | Frontend → New Instantiation |
|---|---|
| Milestone: | Future → 1.16.0 |
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Still wrong in the old frontend, but works with the new.