Opened 15 years ago

Last modified 15 years ago

#1192 closed defect (fixed)

Lookup issues of inherited type aliases

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund, Martin Sjölund

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 by Martin Sjölund, 15 years ago

Fixed, testcase in Extends8.mo

Note: See TracTickets for help on using tickets.