Fix inheritance issue detected while working on OTSuperTypeHierarchyTest013.testGetAllSuperclasses_TA2TB2TC2R1()
* new test is test1118_roleOverridesExtends2() to detect illegal overriding of "extends" inherited from different paths.
* fix is to keep more non-source "extends" information in TypeLevel.checkAdjustSuperclass()
Cleanup in TypeLevel.connectRoleClasses()
* only process the lastly added tsuper role here (fixes a TODO in the code)
* previously this caused duplicate error in test1118_roleOverridesExtends2
Result: the original test case in OTSuperTypeHierarchyTest013 is illegal, which is now properly reported.
4 files changed