Closed pbalsgaard closed 7 years ago
After spending more time with this, I think it's the expected behavior that when the supertype is used, all subtypes are substituted in. I expected the extensions to behave like system extensions in regular AADL.
You are correct in your observation.
The EMFTA export cannot use an error type if it has been extended in a type hierarchy. Instead, it uses the last extension in listed in the hierarchy. This isn't how I expect it to behave, but I guess it could be intentional. For example, ErrorLibrary defines:
If a model uses error propagations of
OutOfRange
type, when performing EMFTA export the errors will be treated asAboveRange
type because it is the last extension ofOutOfRange
.