[Cuis-dev] [BUG] --- renaming classes renames class variables

Juan Vuletich JuanVuletich at zoho.com
Mon Jan 3 06:33:43 PST 2022


Fix now at GitHub.

Thanks Folks!

On 12/30/2021 4:38 PM, Hernan Wilkinson via Cuis-dev wrote:
> and the references have to be in class methods only!! :-) Nice catch 
> Andres, it was a rare case.
>
> Attached is the fix and also a test that fails without the fix and 
> passes with the fix.
>
> Cheers!
> Hernan.
>
>
> On Thu, Dec 30, 2021 at 4:15 PM Hernan Wilkinson 
> <hernan.wilkinson at 10pines.com <mailto:hernan.wilkinson at 10pines.com>> 
> wrote:
>
>     the class var has to have references for this to happen ...
>
>     On Thu, Dec 30, 2021 at 3:16 PM Hernan Wilkinson
>     <hernan.wilkinson at 10pines.com
>     <mailto:hernan.wilkinson at 10pines.com>> wrote:
>
>         wow! Nice catch!
>         I'll look at it.
>         I thought it had to do with renaming also class vars but I
>         tried with a different class name and a class var with that
>         name and it did not rename it...
>
>         Cheers!
>         Hernan
>
>         On Thu, Dec 30, 2021 at 11:17 AM Andres Valloud via Cuis-dev
>         <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>
>             Hi,
>
>             1.  Create a class called NewSymbols.
>
>             2.  Rename the class to e.g. Lalala.
>
>             3.  Click anywhere in the browser to trigger symbol
>             internment / lookup.
>
>             4.  Note that Lalala does not understand #like:.
>
>             Why?  Because the class variable NewSymbols in the class
>             Symbol was also
>             renamed to Lalala.
>
>             Andres.
>             -- 
>             Cuis-dev mailing list
>             Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>             https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
>         -- 
>         <https://10pines.com/>
>
>
>           Hernán Wilkinson
>
>
>             Software Developer & Coach
>
>         Alem 896, Floor 6, Buenos Aires, Argentina
>
>         +54 11 6091 3125
>
>         @HernanWilkinson
>
>
>
>     -- 
>     <https://10pines.com/>
>
>
>       Hernán Wilkinson
>
>
>         Software Developer & Coach
>
>     Alem 896, Floor 6, Buenos Aires, Argentina
>
>     +54 11 6091 3125
>
>     @HernanWilkinson
>
>
>
> -- 
> <https://10pines.com/>
>
>
>   Hernán Wilkinson
>
>
>     Software Developer & Coach
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 11 6091 3125
>
> @HernanWilkinson
>


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

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


More information about the Cuis-dev mailing list