[Cuis-dev] [BUG] --- renaming classes renames class variables
Hernan Wilkinson
hernan.wilkinson at 10pines.com
Thu Dec 30 11:38:18 PST 2021
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> 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> 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> 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
>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>
>>
>>
>> --
>> <https://10pines.com/>Hernán WilkinsonSoftware Developer & Coach
>>
>> Alem 896, Floor 6, Buenos Aires, Argentina
>>
>> +54 11 6091 3125
>>
>> @HernanWilkinson
>>
>
>
> --
> <https://10pines.com/>Hernán WilkinsonSoftware Developer & Coach
>
> Alem 896, Floor 6, Buenos Aires, Argentina
>
> +54 11 6091 3125
>
> @HernanWilkinson
>
--
<https://10pines.com/>Hernán WilkinsonSoftware Developer & Coach
Alem 896, Floor 6, Buenos Aires, Argentina
+54 11 6091 3125
@HernanWilkinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211230/41f125de/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5008-RenameClassFix-HernanWilkinson-2021Dec27-16h23m-HAW.001.cs.st
Type: application/octet-stream
Size: 400 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211230/41f125de/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-BaseImageTests-HAW.016.cs.st
Type: application/octet-stream
Size: 1024 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211230/41f125de/attachment-0001.obj>
More information about the Cuis-dev
mailing list