Ticket #51 (closed defect: fixed)
Multiple inheritance and array types
| Reported by: | HansOlsson | Owned by: | HansOlsson |
|---|---|---|---|
| Priority: | normal | Milestone: | ModelicaSpec3.1 |
| Component: | --Modelica Specification-- | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Hide ticket: | no |
Description (last modified by dietmarw) (diff)
From Stefan Vorkoetter:
Consider the following:
model M // Declare a pair of simple classes. class T Real t; end T; class U Real u; end U; // Now create a pair of array types. type TVec2 = T[2]; type UVec3 = U[3]; // This new class extends both array types. class V extends TVec2; extends UVec3; end V; // What is the dimension of v? V v; end M;
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
