pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Duplicate class driver should use allNonMetaClasses

Open hernanmd opened this issue 1 year ago • 0 comments

Describe the request The method ReDuplicateClassDriver>>#scopes: gets the selected class using model environment classes anyOne, but since the classes answer both the class and the metaclass, if the order is inverted, then the selected class will be the metaclass, which makes no sense for class duplication and produce errors later when accessing the rbClass.

Expected behavior Use allNonMetaClasses to prevent getting metaclasses where are not needed.

hernanmd avatar Oct 12 '24 14:10 hernanmd