Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect error text for feature group inverse error #1234
This bit of AADL attempts two different ways of creating feature groups that are inverses of inverses:
This correctly results in two errors in the AADL text editor. The first error about FG1 says, "A feature group type cannot be an inverse of another feature group type that already contains an 'inverse of' declaration."
However, the second error about FG2 says, "A feature group type with an 'inverse of' declaration cannot extend a feature group type without an 'inverse of' declaration."
The text in the second case doesn't make sense (looks like it was copied from another error message in Aadl2JavaValidator). It should probably say something similar to the first error message: for example, "A feature group cannot be an inverse of a feature group type that already contains an 'inverse of' declaration."