Opened 14 years ago

Last modified 7 years ago

#1405 closed defect

Wrong dimensions for arrays of array aliases — at Version 2

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 Martin Sjölund)

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 (2)

comment:1 by Peter Aronsson, 12 years ago

Cc: peter.aronsson@… added

This is pretty serious, and it hasn't been touched in 20 months. Will the new instantiation module take care of this?

comment:2 by Martin Sjölund, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.