Просмотр исходного кода

Bugfix when removing types from registry (#1477) (#1478)

Thomas Kutz 8 лет назад
Родитель
Сommit
44e4074a49

+ 1 - 1
plugins/org.yakindu.base.types/src/org/yakindu/base/types/typesystem/AbstractTypeSystem.java

@@ -148,7 +148,7 @@ public abstract class AbstractTypeSystem implements ITypeSystem {
 		if (type != null) {
 			extendsRegistry.removeAll(type);
 			resource.getContents().remove(type);
-			typeRegistry.remove(type);
+			typeRegistry.remove(name);
 		}
 	}