Opened 12 years ago
Closed 12 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 , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
| Owner: | changed from to |
|---|
comment:3 by , 12 years ago
| Cc: | added |
|---|
comment:4 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in r17477.