Opened 14 years ago

Last modified 14 years ago

#1192 closed defect (fixed)

Lookup issues of inherited type aliases

Reported by: sjoelund.se Owned by: sjoelund.se
Priority: critical Milestone:
Component: Version:
Keywords: Cc: sjoelund.se, sjoelund.se

Description

Small example based on Modelica.Media code:

package M
package my
  type Abs2 = Integer;
end my;

class Z
  Abs abc;
  type Abs = my.Abs2;
end Z;

class X
  extends Z(abc = 3);
end X;
end M;

class Y1
  extends M.X;
end Y1;

Change History (1)

comment:1 Changed 14 years ago by sjoelund.se

Fixed, testcase in Extends8.mo

Note: See TracTickets for help on using tickets.