Opened 12 years ago

Last modified 7 years ago

#1916 closed defect

Print an error for nonexisting redeclared modifier elements in extends. — at Initial Version

Reported by: Per Östlund Owned by: Per Östlund
Priority: low Milestone: 1.13.0
Component: New Instantiation Version: trunk
Keywords: Cc:

Description

We should print an error if a redeclared modifier element can 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 (0)

Note: See TracTickets for help on using tickets.