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: perost
Priority: blocker Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc: petar

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 Changed 11 years ago by adrpo

  • Owner changed from somebody to adrpo
  • Status changed from new to assigned

comment:2 Changed 11 years ago by perost

  • Owner changed from adrpo to perost

comment:3 Changed 11 years ago by petar

  • Cc petar added

comment:4 Changed 11 years ago by perost

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r17477.

Note: See TracTickets for help on using tickets.