#3360 closed defect (fixed)
Model flattening fails with enumeration type arrays
Reported by: | Owned by: | Per Östlund | |
---|---|---|---|
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 by , 10 years ago
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:3 by , 10 years ago
Component: | Unknown → Frontend |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Fixed in d084a77e39/OMCompiler. The nightly Linux builds are working again too, in case you haven't seen that yet.
comment:4 by , 9 years ago
Milestone: | Future → 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 by , 7 years ago
Milestone: | pre1.9.4 → 1.9.4 |
---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
Note:
See TracTickets
for help on using tickets.
Well, here is a more sensible example: