Opened 11 years ago

Closed 11 years ago

#2355 closed defect (fixed)

Class not found in scope if a model extends from another model with the same name

Reported by: anonymous Owned by: Per Östlund
Priority: blocker Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc: Peter Aronsson

Description

If a model extends from another model with the same name and also contains that model (see below), then any extends clauses in the second model are not recognized.

model A
end A;
model Test
  extends Test;
  model Test
    extends A;
  end Test;
end Test;

Bsse class A is not found in scope Test.

Change History (4)

comment:1 by Adrian Pop, 11 years ago

Owner: changed from somebody to Adrian Pop
Status: newassigned

comment:2 by Per Östlund, 11 years ago

Owner: changed from Adrian Pop to Per Östlund

comment:3 by Peter Aronsson, 11 years ago

Cc: Peter Aronsson added

comment:4 by Per Östlund, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r17477.

Note: See TracTickets for help on using tickets.