Opened 10 years ago
Closed 3 years ago
#2859 closed defect (fixed)
Wrong generation of record bindings when defining record components via submodifiers
Reported by: | adrpo | 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 Changed 3 years ago by perost
- Component changed from Frontend to New Instantiation
- Milestone changed from Future to 1.16.0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Still wrong in the old frontend, but works with the new.