Hi

 

I currently have a problem that I am unable to resolve.

 

I am working on a personal project.

 

I created a Class ���ERAElement��� and four subclasses: ���Component���, ���CriticalIssue���, ���Decision��� and ���Requirement���.

 

A while ago I removed he subclass Component, and naturally Pharo will not let me create an instance of this subclasses.�� However it is still listed in the ERAElement subclass collection. As shown below.

Graphical user interface, text, application

Description automatically generated

 

 

I can test for existence of each subclass as shown below:

Graphical user interface, text, application

Description automatically generated

 

However the same code will not accept Component as a possible value.

 

Graphical user interface, text, application

Description automatically generated

 

I can even create a new Subclass Component and get two (different) subclasses with the same name.

 

Any thoughts as to what is going on and if so how to resolve the problem?

 

Many thanks in advance for any and all feedback.

 

Kind regards

Robert Briggs