[Cuis-dev] Class>>#superclass: fix

Juan Vuletich juan at cuis.st
Mon Aug 12 06:04:18 PDT 2024


Thanks Hernán. This was pushed to GitHub.

On 8/10/2024 10:35 PM, Hernán Wilkinson via Cuis-dev wrote:
> Hi,
>  the #superclass: message was implemented in Class lately... that 
> revealed an error that appears when running some refactorings that are 
> not included in Cuis, in fact the refactoring is 
> the IntroduceNullObject that is part of CuisUniversity.
>  That refactoring changes the superclass of a class using the message 
> #superclass:
>  That message was only implemented in Behavior before and it did not 
> change the subclasses of the old and new 
> superclass, leaving inconsistent the hierarchy.
>  Recently #superclass: was overwritten in Class removing the class 
> from the old superclass subclasses but not adding it to the new 
> superclass subclasses. This also leaves the hierarchy inconsistent, 
> producing errors when removing a class category for example.
>  Attached is a fix for that. It adds the class whose superclass is 
> changed to the new superclass subclasses leaving the hierarchy cosistent.
>
> Cheers!
> Hernan.
>
> -- 
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240812/ee3b64e8/attachment.htm>


More information about the Cuis-dev mailing list