#3360 closed defect (fixed)
Model flattening fails with enumeration type arrays
Reported by: | palm86@… | Owned by: | perost |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
The following model demonstrates the issue, but it is probably not limited to connectors:
model MFU type E = enumeration(a, b); type X = Real; connector C X x[E]; // Does not work //X x[2]; // Does work end C; model B C c; end B; B b; end MFU;
Change History (5)
comment:1 Changed 9 years ago by palm86@…
comment:2 Changed 9 years ago by perost
- Owner changed from somebody to perost
- Status changed from new to accepted
comment:3 Changed 9 years ago by perost
- Component changed from Unknown to Frontend
- Resolution set to fixed
- Status changed from accepted to closed
Fixed in d084a77e39/OMCompiler. The nightly Linux builds are working again too, in case you haven't seen that yet.
comment:4 Changed 9 years ago by dietmarw
- Milestone changed from Future to pre1.9.4
It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.
comment:5 Changed 7 years ago by sjoelund.se
- Milestone changed from pre1.9.4 to 1.9.4
Removing the pre1.9.4 milestone in favor of 1.9.4.
Well, here is a more sensible example: