On 5/26/2015 9:38 AM, Marcus Denker wrote:

On 26 May 2015, at 14:51, Florin Mateoc <fmateoc@gmail.com> wrote:

Hi Stef,

I think this one's easy, especially for Pharo. Since apparently it was Etoys, not Morphic, that was or is using the
strings and numbers mixed arithmetic, and Pharo does not care about Etoys, the arithmetic protocol (the operators plus
the adaptTo...:andSend: methods) should simply be removed from String.
While I did not perform any extensive testing, I did remove them in a Squeak (Morphic) image and nothing seemed to break.

I committed a slice:

https://pharo.fogbugz.com/f/cases/2906/Analyze-adaptToNumber-andSend


Marcus


Hi Markus,

Thank you.
I forgot to mention, the non-String implementations of adaptToString:andSend: are part of the same bunch and they can now also go, nobody sends them anymore

Florin