Is it possible to make concept diamond inheritance?

I'm trying to implement VHDL language, it has two different types of expressions - SequentalExpression and ParallelExpression.

Both of concepts should have "AssignVariable" child. AFAIK concept can extend only one parent, is it correct?

If so, can you advise me any pattern which will be better than copying concepts?

Regards, Mark
You could use a ConceptInterface for your child.
So I should create an AssignVariableInterface and make two AssignVariable concepts both implementing that Interface, right?
The child that concepts need to share will be defined in the InterfaceConcept that these concepts implement. Thus they will inherit the child definition, including its potential editor, constraints behavior and other aspects.
Now I understand, thanks for explanation!

Please sign in to leave a comment.