#1405 closed defect (fixed)
Wrong dimensions for arrays of array aliases
Reported by: | AlexeyLebedev | Owned by: | AlexeyLebedev |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | Frontend | Version: | |
Keywords: | Cc: | AlexeyLebedev, peter.aronsson@…, Per Östlund |
Description (last modified by )
An array of a type which is defined as an array itself gets wrong dimensions. For example,
type B = Real[2]; class A B[3] z; end A;
produces
class A Real z[1]; Real z[2]; end A;
Change History (8)
comment:1 by , 12 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
comment:3 by , 12 years ago
Cc: | added |
---|
comment:4 by , 12 years ago
Component: | Instantiation → Frontend |
---|---|
Milestone: | → Future |
Yes, the new one will solve it:
$ omc +d=scodeInst a.mo /home/marsj/dev/trunk/build/bin/omc 1.9.0 Beta1 (r12688) EXPANDED FORM: class A Real z[1,1]; Real z[1,2]; Real z[2,1]; Real z[2,2]; Real z[3,1]; Real z[3,2]; end A;
comment:7 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:8 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.
This is pretty serious, and it hasn't been touched in 20 months. Will the new instantiation module take care of this?