Opened 12 years ago
Last modified 7 years ago
#1916 closed defect
Print an error for nonexisting redeclared modifier elements in extends. — at Version 1
Reported by: | Per Östlund | Owned by: | Per Östlund |
---|---|---|---|
Priority: | low | Milestone: | 1.13.0 |
Component: | New Instantiation | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
We should print an error if a redeclared modifier element can't be found in an extended class, such as this:
model M end M; model NonexistentRedeclareModifier2 extends M(redeclare Real x); end NonexistentRedeclareModifier2;
But the dependency analysis thinks that the redeclare modifier is unused, so it just removes it.
Note:
See TracTickets
for help on using tickets.