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
Multiple inheritance error 34 not being consistently raised #1221
Error 34 is not being raised in the command line compiler properly for the following code. However, interestingly, it is being raised in UmpleIOnline. The reason for that is that UmpleOnline generates extra 'positioning' code that makes extra class bodies. That makes a difference.
This problem only arises when a class has two isA directives for two parent classes (not allowed), and those two parent classes are specified afterwards.
The solution ought to be to put the analysis of multiple inheritance in the second phase of analysis, after all classes have been processed.
Additionally, even in UmpleOnline, the line number is not being properly pointed out.