Print an error for nonexisting redeclared modifier elements in extends.
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.
Change History
(4)
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Milestone: |
Future → 1.13.0
|
A testcase named NonexistentRedeclareModifier2 has been added to the failing tests in scodeinst btw.