#findFeatures at least works correctly. That is it does not add an unintended leading space for the String 'AnExampleString' like #fromCamelCase does when the first letter is capitalized.
I think I will just fix this bug privately. If anybody wants my code just email me.
Thanks all for your time. Ralph
Hi Ralph --
This is Etoys-only protocol. It hasn't changed substantially since at least 2007. What do you think the correct behavior should be for #fromCamelCase? An extra empty string in the set?
Please use #findFeatures instead --- even though it has the same answer for 'AnExampleString', > which you apparently do not agree with. :-)
Best, Marcel
Am 22.02.2023 08:46:16 schrieb Ralph Boland rpboland@gmail.com: I have found a simple bug in Squeak 6 (and 5.3)
'anExampleString' fromCamelCase returns: 'an example string' . But 'AnExampleString' fromCamelCase returns: ' an example string' . I assume the latter is wrong.
How do I report this bug? Should I fix this bug and add the fix to the bug report or leave it for someone else to fix?
My guess is I will need to fix this bug anyway because I will likely need it fixed before a fix can be released.
Ralph Boland
Hi Ralph --
Now I can see the issue. Thanks for reporting. Feel free to fix the issue and put it into the inbox: https://squeak.org/development_process/ [https://squeak.org/development_process/]
You may also attach a simple change-set to a post here on the list.
Best, Marcel Am 23.02.2023 05:05:01 schrieb Ralph Boland rpboland@gmail.com: #findFeatures at least works correctly. That is it does not add an unintended leading space for the String 'AnExampleString' like #fromCamelCase does when the first letter is capitalized.
I think I will just fix this bug privately. If anybody wants my code just email me.
Thanks all for your time. Ralph
Hi Ralph --
This is Etoys-only protocol. It hasn't changed substantially since at least 2007. What do you think the correct behavior should be for #fromCamelCase? An extra empty string in the set?
Please use #findFeatures instead --- even though it has the same answer for 'AnExampleString', > which you apparently do not agree with. :-)
Best, Marcel
Am 22.02.2023 08:46:16 schrieb Ralph Boland : I have found a simple bug in Squeak 6 (and 5.3)
'anExampleString' fromCamelCase returns: 'an example string' . But 'AnExampleString' fromCamelCase returns: ' an example string' . I assume the latter is wrong.
How do I report this bug? Should I fix this bug and add the fix to the bug report or leave it for someone else to fix?
My guess is I will need to fix this bug anyway because I will likely need it fixed before a fix can be released.
Ralph Boland
squeak-dev@lists.squeakfoundation.org