[Cuis-dev] Bug in Class>>#removeClassVarName:

Juan Vuletich JuanVuletich at zoho.com
Tue May 3 06:17:59 PDT 2022


On 4/30/2022 3:55 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Class>>#removeClassVarName: asks a user for confirmation if the 
> variable is still used in some method, and depending on the user 
> answer it moves it to Undeclared or leaves it alone. However, it stops 
> there and returns, without removing it from the classPool. Shouldn’t 
> it go ahead and continue independently of the user response? 

If I understand the code correctly, if the variable is used in some 
method, it asks the user what to do. On the user response it either:
a) Removes the class variable from the class pool, and adds it to 
Undeclared (see #declare:from:)
b) Does nothing. Class variable remains in the class. Code is untouched. 
No new Undeclared.

Does it do something different? Doesn't this make sense to you?

Thanks,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
https://twitter.com/JuanVuletich

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


More information about the Cuis-dev mailing list